File tree Expand file tree Collapse file tree 6 files changed +21
-5
lines changed Expand file tree Collapse file tree 6 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ fn test_openbsd(target: &str) {
264264 "netinet/ip.h" ,
265265 "netinet/tcp.h" ,
266266 "netinet/udp.h" ,
267+ "net/bpf.h" ,
267268 "resolv.h" ,
268269 "pthread.h" ,
269270 "dlfcn.h" ,
Original file line number Diff line number Diff line change @@ -1761,6 +1761,11 @@ pub const TIOCPTYGRANT: ::c_uint = 0x20007454;
17611761pub const TIOCPTYGNAME : :: c_uint = 0x40807453 ;
17621762pub const TIOCPTYUNLK : :: c_uint = 0x20007452 ;
17631763
1764+ pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
1765+ pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
1766+ pub const BIOCSDLT : :: c_ulong = 0x80044278 ;
1767+ pub const BIOCGSEESENT : :: c_ulong = 0x40044276 ;
1768+ pub const BIOCSSEESENT : :: c_ulong = 0x80044277 ;
17641769pub const BIOCGDLTLIST : :: c_ulong = 0xc00c4279 ;
17651770
17661771pub const FIODTYPE : :: c_ulong = 0x4004667a ;
Original file line number Diff line number Diff line change @@ -1009,6 +1009,11 @@ pub const SLIPDISC: ::c_int = 0x4;
10091009pub const PPPDISC : :: c_int = 0x5 ;
10101010pub const NETGRAPHDISC : :: c_int = 0x6 ;
10111011
1012+ pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
1013+ pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
1014+ pub const BIOCSDLT : :: c_ulong = 0x80044278 ;
1015+ pub const BIOCGSEESENT : :: c_ulong = 0x40044276 ;
1016+ pub const BIOCSSEESENT : :: c_ulong = 0x80044277 ;
10121017pub const BIOCSETF : :: c_ulong = 0x80104267 ;
10131018pub const BIOCGDLTLIST : :: c_ulong = 0xc0104279 ;
10141019pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
Original file line number Diff line number Diff line change @@ -446,13 +446,8 @@ pub const BIOCSETIF: ::c_ulong = 0x8020426c;
446446pub const BIOCGSTATS : :: c_ulong = 0x4008426f ;
447447pub const BIOCIMMEDIATE : :: c_ulong = 0x80044270 ;
448448pub const BIOCVERSION : :: c_ulong = 0x40044271 ;
449- pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
450- pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
451449pub const BIOCGHDRCMPLT : :: c_ulong = 0x40044274 ;
452450pub const BIOCSHDRCMPLT : :: c_ulong = 0x80044275 ;
453- pub const BIOCGSEESENT : :: c_ulong = 0x40044276 ;
454- pub const BIOCSSEESENT : :: c_ulong = 0x80044277 ;
455- pub const BIOCSDLT : :: c_ulong = 0x80044278 ;
456451pub const SIOCGIFADDR : :: c_ulong = 0xc0206921 ;
457452
458453f ! {
Original file line number Diff line number Diff line change @@ -1077,6 +1077,12 @@ pub const FD_SETSIZE: usize = 0x100;
10771077
10781078pub const ST_NOSUID : :: c_ulong = 8 ;
10791079
1080+ pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
1081+ pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
1082+ pub const BIOCSDLT : :: c_ulong = 0x80044278 ;
1083+ pub const BIOCGSEESENT : :: c_ulong = 0x40044276 ;
1084+ pub const BIOCSSEESENT : :: c_ulong = 0x80044277 ;
1085+
10801086cfg_if ! {
10811087 if #[ cfg( any( target_arch = "sparc" , target_arch = "sparc64" ,
10821088 target_arch = "x86" , target_arch = "x86_64" ) ) ] {
Original file line number Diff line number Diff line change @@ -1307,6 +1307,10 @@ pub const SOCK_CLOEXEC: ::c_int = 0x8000;
13071307pub const SOCK_NONBLOCK : :: c_int = 0x4000 ;
13081308pub const SOCK_DNS : :: c_int = 0x1000 ;
13091309
1310+ pub const BIOCGRSIG : :: c_ulong = 0x40044273 ;
1311+ pub const BIOCSRSIG : :: c_ulong = 0x80044272 ;
1312+ pub const BIOCSDLT : :: c_ulong = 0x8004427a ;
1313+
13101314pub const PTRACE_FORK : :: c_int = 0x0002 ;
13111315
13121316pub const WCONTINUED : :: c_int = 8 ;
You can’t perform that action at this time.
0 commit comments