@@ -455,7 +455,13 @@ pub const CLOCK_SECOND: ::clockid_t = 13;
455
455
pub const CLOCK_THREAD_CPUTIME_ID : :: clockid_t = 14 ;
456
456
pub const CLOCK_PROCESS_CPUTIME_ID : :: clockid_t = 15 ;
457
457
458
+ #[ doc( hidden) ]
459
+ #[ deprecated(
460
+ since = "0.2.72" ,
461
+ note = "CTL_UNSPEC is deprecated. Use CTL_SYSCTL instead"
462
+ ) ]
458
463
pub const CTL_UNSPEC : :: c_int = 0 ;
464
+ pub const CTL_SYSCTL : :: c_int = 0 ;
459
465
pub const CTL_KERN : :: c_int = 1 ;
460
466
pub const CTL_VM : :: c_int = 2 ;
461
467
pub const CTL_VFS : :: c_int = 3 ;
@@ -465,6 +471,13 @@ pub const CTL_HW: ::c_int = 6;
465
471
pub const CTL_MACHDEP : :: c_int = 7 ;
466
472
pub const CTL_USER : :: c_int = 8 ;
467
473
pub const CTL_P1003_1B : :: c_int = 9 ;
474
+ pub const CTL_SYSCTL_DEBUG : :: c_int = 0 ;
475
+ pub const CTL_SYSCTL_NAME : :: c_int = 1 ;
476
+ pub const CTL_SYSCTL_NEXT : :: c_int = 2 ;
477
+ pub const CTL_SYSCTL_NAME2OID : :: c_int = 3 ;
478
+ pub const CTL_SYSCTL_OIDFMT : :: c_int = 4 ;
479
+ pub const CTL_SYSCTL_OIDDESCR : :: c_int = 5 ;
480
+ pub const CTL_SYSCTL_OIDLABEL : :: c_int = 6 ;
468
481
pub const KERN_OSTYPE : :: c_int = 1 ;
469
482
pub const KERN_OSRELEASE : :: c_int = 2 ;
470
483
pub const KERN_OSREV : :: c_int = 3 ;
@@ -782,8 +795,14 @@ pub const IPPROTO_BLT: ::c_int = 30;
782
795
pub const IPPROTO_NSP : :: c_int = 31 ;
783
796
/// Merit Internodal
784
797
pub const IPPROTO_INP : :: c_int = 32 ;
785
- /// Sequential Exchange
798
+ #[ doc( hidden) ]
799
+ #[ deprecated(
800
+ since = "0.2.72" ,
801
+ note = "IPPROTO_SEP is deprecated. Use IPPROTO_DCCP instead"
802
+ ) ]
786
803
pub const IPPROTO_SEP : :: c_int = 33 ;
804
+ /// Datagram Congestion Control Protocol
805
+ pub const IPPROTO_DCCP : :: c_int = 33 ;
787
806
/// Third Party Connect
788
807
pub const IPPROTO_3PC : :: c_int = 34 ;
789
808
/// InterDomain Policy Routing
0 commit comments