kern/133710: <net/bpf.h> and <netgraph/ng_message.h> should include <sys/ioccom.h>

Guy Harris guy at
Mon Apr 13 11:30:05 PDT 2009

>Number:         133710
>Category:       kern
>Synopsis:       <net/bpf.h> and <netgraph/ng_message.h> should include <sys/ioccom.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 18:30:00 UTC 2009
>Originator:     Guy Harris
>Release:        Top of tree
It uses the _IO macros to define various ioctl codes; it should include <sys/ioccom.h> so that code using doesn't have to include <sys/ioccom.h> itself or include something that includes <sys/ioccom.h>.  <sys/ioccom.h> was not, when I originally created it in SunOS 4.0, intended to be included by .c files; it was intended to be included by headers that define ioctls.



More information about the freebsd-bugs mailing list