@@ -442,7 +442,13 @@ pub const CLOCK_SECOND: ::clockid_t = 13;
442
442
pub const CLOCK_THREAD_CPUTIME_ID : :: clockid_t = 14 ;
443
443
pub const CLOCK_PROCESS_CPUTIME_ID : :: clockid_t = 15 ;
444
444
445
+ #[ doc( hidden) ]
446
+ #[ deprecated(
447
+ since = "0.2.72" ,
448
+ note = "CTL_UNSPEC is deprecated. Use CTL_SYSCTL instead"
449
+ ) ]
445
450
pub const CTL_UNSPEC : :: c_int = 0 ;
451
+ pub const CTL_SYSCTL : :: c_int = 0 ;
446
452
pub const CTL_KERN : :: c_int = 1 ;
447
453
pub const CTL_VM : :: c_int = 2 ;
448
454
pub const CTL_VFS : :: c_int = 3 ;
@@ -452,6 +458,13 @@ pub const CTL_HW: ::c_int = 6;
452
458
pub const CTL_MACHDEP : :: c_int = 7 ;
453
459
pub const CTL_USER : :: c_int = 8 ;
454
460
pub const CTL_P1003_1B : :: c_int = 9 ;
461
+ pub const CTL_SYSCTL_DEBUG : :: c_int = 0 ;
462
+ pub const CTL_SYSCTL_NAME : :: c_int = 1 ;
463
+ pub const CTL_SYSCTL_NEXT : :: c_int = 2 ;
464
+ pub const CTL_SYSCTL_NAME2OID : :: c_int = 3 ;
465
+ pub const CTL_SYSCTL_OIDFMT : :: c_int = 4 ;
466
+ pub const CTL_SYSCTL_OIDDESCR : :: c_int = 5 ;
467
+ pub const CTL_SYSCTL_OIDLABEL : :: c_int = 6 ;
455
468
pub const KERN_OSTYPE : :: c_int = 1 ;
456
469
pub const KERN_OSRELEASE : :: c_int = 2 ;
457
470
pub const KERN_OSREV : :: c_int = 3 ;
@@ -769,8 +782,14 @@ pub const IPPROTO_BLT: ::c_int = 30;
769
782
pub const IPPROTO_NSP : :: c_int = 31 ;
770
783
/// Merit Internodal
771
784
pub const IPPROTO_INP : :: c_int = 32 ;
772
- /// Sequential Exchange
785
+ #[ doc( hidden) ]
786
+ #[ deprecated(
787
+ since = "0.2.72" ,
788
+ note = "IPPROTO_SEP is deprecated. Use IPPROTO_DCCP instead"
789
+ ) ]
773
790
pub const IPPROTO_SEP : :: c_int = 33 ;
791
+ /// Datagram Congestion Control Protocol
792
+ pub const IPPROTO_DCCP : :: c_int = 33 ;
774
793
/// Third Party Connect
775
794
pub const IPPROTO_3PC : :: c_int = 34 ;
776
795
/// InterDomain Policy Routing
0 commit comments