@@ -436,6 +436,28 @@ pub const POLLWRNORM: ::c_short = 0x004;
436
436
pub const POLLRDBAND : :: c_short = 0x080 ;
437
437
pub const POLLWRBAND : :: c_short = 0x100 ;
438
438
439
+ pub const BIOCGBLEN : :: c_ulong = 0x40044266 ;
440
+ pub const BIOCSBLEN : :: c_ulong = 0xc0044266 ;
441
+ pub const BIOCSETF : :: c_ulong = 0x80104267 ;
442
+ pub const BIOCFLUSH : :: c_uint = 0x20004268 ;
443
+ pub const BIOCPROMISC : :: c_uint = 0x20004269 ;
444
+ pub const BIOCGDLT : :: c_ulong = 0x4004426a ;
445
+ pub const BIOCGETIF : :: c_ulong = 0x4020426b ;
446
+ pub const BIOCSETIF : :: c_ulong = 0x8020426c ;
447
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
448
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
449
+ pub const BIOCGSTATS : :: c_ulong = 0x4008426f ;
450
+ pub const BIOCIMMEDIATE : :: c_ulong = 0x80044270 ;
451
+ pub const BIOCVERSION : :: c_ulong = 0x40044271 ;
452
+ pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
453
+ pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
454
+ pub const BIOCGHDRCMPLT : :: c_ulong = 0x40044274 ;
455
+ pub const BIOCSHDRCMPLT : :: c_ulong = 0x80044275 ;
456
+ pub const BIOCGSEESENT : :: c_ulong = 0x40044276 ;
457
+ pub const BIOCSSEESENT : :: c_ulong = 0x80044277 ;
458
+ pub const BIOCSDLT : :: c_ulong = 0x80044278 ;
459
+ pub const SIOCGIFADDR : :: c_ulong = 0xc0206921 ;
460
+
439
461
f ! {
440
462
pub fn CMSG_FIRSTHDR ( mhdr: * const :: msghdr) -> * mut :: cmsghdr {
441
463
if ( * mhdr) . msg_controllen as usize >= :: mem:: size_of:: <:: cmsghdr>( ) {
0 commit comments