File tree 6 files changed +21
-5
lines changed
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) {
264
264
"netinet/ip.h" ,
265
265
"netinet/tcp.h" ,
266
266
"netinet/udp.h" ,
267
+ "net/bpf.h" ,
267
268
"resolv.h" ,
268
269
"pthread.h" ,
269
270
"dlfcn.h" ,
Original file line number Diff line number Diff line change @@ -1761,6 +1761,11 @@ pub const TIOCPTYGRANT: ::c_uint = 0x20007454;
1761
1761
pub const TIOCPTYGNAME : :: c_uint = 0x40807453 ;
1762
1762
pub const TIOCPTYUNLK : :: c_uint = 0x20007452 ;
1763
1763
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 ;
1764
1769
pub const BIOCGDLTLIST : :: c_ulong = 0xc00c4279 ;
1765
1770
1766
1771
pub 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;
1009
1009
pub const PPPDISC : :: c_int = 0x5 ;
1010
1010
pub const NETGRAPHDISC : :: c_int = 0x6 ;
1011
1011
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 ;
1012
1017
pub const BIOCSETF : :: c_ulong = 0x80104267 ;
1013
1018
pub const BIOCGDLTLIST : :: c_ulong = 0xc0104279 ;
1014
1019
pub 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;
446
446
pub const BIOCGSTATS : :: c_ulong = 0x4008426f ;
447
447
pub const BIOCIMMEDIATE : :: c_ulong = 0x80044270 ;
448
448
pub const BIOCVERSION : :: c_ulong = 0x40044271 ;
449
- pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
450
- pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
451
449
pub const BIOCGHDRCMPLT : :: c_ulong = 0x40044274 ;
452
450
pub 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 ;
456
451
pub const SIOCGIFADDR : :: c_ulong = 0xc0206921 ;
457
452
458
453
f ! {
Original file line number Diff line number Diff line change @@ -1077,6 +1077,12 @@ pub const FD_SETSIZE: usize = 0x100;
1077
1077
1078
1078
pub const ST_NOSUID : :: c_ulong = 8 ;
1079
1079
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
+
1080
1086
cfg_if ! {
1081
1087
if #[ cfg( any( target_arch = "sparc" , target_arch = "sparc64" ,
1082
1088
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;
1307
1307
pub const SOCK_NONBLOCK : :: c_int = 0x4000 ;
1308
1308
pub const SOCK_DNS : :: c_int = 0x1000 ;
1309
1309
1310
+ pub const BIOCGRSIG : :: c_ulong = 0x40044273 ;
1311
+ pub const BIOCSRSIG : :: c_ulong = 0x80044272 ;
1312
+ pub const BIOCSDLT : :: c_ulong = 0x8004427a ;
1313
+
1310
1314
pub const PTRACE_FORK : :: c_int = 0x0002 ;
1311
1315
1312
1316
pub const WCONTINUED : :: c_int = 8 ;
You can’t perform that action at this time.
0 commit comments