File tree Expand file tree Collapse file tree 6 files changed +38
-0
lines changed Expand file tree Collapse file tree 6 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 12;
94
94
pub const TIOCTIMESTAMP : :: c_ulong = 0x40087459 ;
95
95
pub const TIOCDCDTIMESTAMP : :: c_ulong = 0x40087458 ;
96
96
97
+ pub const BIOCSETF : :: c_ulong = 0x80084267 ;
98
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8008426d ;
99
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4008426e ;
100
+ pub const BIOCSETFNR : :: c_ulong = 0x8008427e ;
101
+
97
102
extern {
98
103
pub fn exchangedata ( path1 : * const :: c_char ,
99
104
path2 : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -99,6 +99,11 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 16;
99
99
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
100
100
pub const TIOCDCDTIMESTAMP : :: c_ulong = 0x40107458 ;
101
101
102
+ pub const BIOCSETF : :: c_ulong = 0x80104267 ;
103
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
104
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
105
+ pub const BIOCSETFNR : :: c_ulong = 0x8010427e ;
106
+
102
107
extern {
103
108
pub fn exchangedata ( path1 : * const :: c_char ,
104
109
path2 : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -1761,6 +1761,8 @@ 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 BIOCGDLTLIST : :: c_ulong = 0xc00c4279 ;
1765
+
1764
1766
pub const FIODTYPE : :: c_ulong = 0x4004667a ;
1765
1767
1766
1768
pub const B0 : speed_t = 0 ;
Original file line number Diff line number Diff line change @@ -569,6 +569,8 @@ pub const TIOCSIG: ::c_uint = 0x2004745f;
569
569
pub const TIOCM_DCD : :: c_int = 0x40 ;
570
570
pub const H4DISC : :: c_int = 0x7 ;
571
571
572
+ pub const BIOCSETFNR : :: c_ulong = 0x80104282 ;
573
+
572
574
pub const FIONWRITE : :: c_ulong = 0x40046677 ;
573
575
pub const FIONSPACE : :: c_ulong = 0x40046676 ;
574
576
pub const FIOSEEKDATA : :: c_ulong = 0xc0086661 ;
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 BIOCSETF : :: c_ulong = 0x80104267 ;
1013
+ pub const BIOCGDLTLIST : :: c_ulong = 0xc0104279 ;
1014
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
1015
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
1016
+
1012
1017
pub const FIODTYPE : :: c_ulong = 0x4004667a ;
1013
1018
pub const FIOGETLBA : :: c_ulong = 0x40046679 ;
1014
1019
pub const FIODGNAME : :: c_ulong = 0x80106678 ;
Original file line number Diff line number Diff line change @@ -436,6 +436,25 @@ 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 BIOCFLUSH : :: c_uint = 0x20004268 ;
442
+ pub const BIOCPROMISC : :: c_uint = 0x20004269 ;
443
+ pub const BIOCGDLT : :: c_ulong = 0x4004426a ;
444
+ pub const BIOCGETIF : :: c_ulong = 0x4020426b ;
445
+ pub const BIOCSETIF : :: c_ulong = 0x8020426c ;
446
+ pub const BIOCGSTATS : :: c_ulong = 0x4008426f ;
447
+ pub const BIOCIMMEDIATE : :: c_ulong = 0x80044270 ;
448
+ pub const BIOCVERSION : :: c_ulong = 0x40044271 ;
449
+ pub const BIOCGRSIG : :: c_ulong = 0x40044272 ;
450
+ pub const BIOCSRSIG : :: c_ulong = 0x80044273 ;
451
+ pub const BIOCGHDRCMPLT : :: c_ulong = 0x40044274 ;
452
+ 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
+ pub const SIOCGIFADDR : :: c_ulong = 0xc0206921 ;
457
+
439
458
f ! {
440
459
pub fn CMSG_FIRSTHDR ( mhdr: * const :: msghdr) -> * mut :: cmsghdr {
441
460
if ( * mhdr) . msg_controllen as usize >= :: mem:: size_of:: <:: cmsghdr>( ) {
You can’t perform that action at this time.
0 commit comments