@@ -889,6 +889,10 @@ pub const AF_PPP: ::c_int = 34;
889
889
pub const pseudo_AF_HDRCMPLT: :: c_int = 35 ;
890
890
#[ doc( hidden) ]
891
891
pub const AF_MAX : :: c_int = 40 ;
892
+ pub const AF_SYS_CONTROL : :: c_int = 2 ;
893
+
894
+ pub const SYSPROTO_EVENT : :: c_int = 1 ;
895
+ pub const SYSPROTO_CONTROL : :: c_int = 2 ;
892
896
893
897
pub const PF_UNSPEC : :: c_int = AF_UNSPEC ;
894
898
pub const PF_LOCAL : :: c_int = AF_LOCAL ;
@@ -946,13 +950,6 @@ pub const SOCK_DGRAM: ::c_int = 2;
946
950
pub const SOCK_RAW : :: c_int = 3 ;
947
951
pub const SOCK_RDM : :: c_int = 4 ;
948
952
pub const SOCK_SEQPACKET : :: c_int = 5 ;
949
- pub const IPPROTO_ICMP : :: c_int = 1 ;
950
- pub const IPPROTO_ICMPV6 : :: c_int = 58 ;
951
- pub const IPPROTO_TCP : :: c_int = 6 ;
952
- pub const IPPROTO_IP : :: c_int = 0 ;
953
- pub const IPPROTO_IPV6 : :: c_int = 41 ;
954
- pub const IP_MULTICAST_TTL : :: c_int = 10 ;
955
- pub const IP_MULTICAST_LOOP : :: c_int = 11 ;
956
953
pub const IP_TTL : :: c_int = 4 ;
957
954
pub const IP_HDRINCL : :: c_int = 2 ;
958
955
pub const IP_ADD_MEMBERSHIP : :: c_int = 12 ;
@@ -975,6 +972,7 @@ pub const SO_LINGER: ::c_int = 0x0080;
975
972
pub const SO_OOBINLINE : :: c_int = 0x0100 ;
976
973
pub const SO_REUSEPORT : :: c_int = 0x0200 ;
977
974
pub const SO_TIMESTAMP : :: c_int = 0x0400 ;
975
+ pub const SO_TIMESTAMP_MONOTONIC : :: c_int = 0x0800 ;
978
976
pub const SO_DONTTRUNC : :: c_int = 0x2000 ;
979
977
pub const SO_WANTMORE : :: c_int = 0x4000 ;
980
978
pub const SO_WANTOOBFLAG : :: c_int = 0x8000 ;
@@ -986,11 +984,17 @@ pub const SO_SNDTIMEO: ::c_int = 0x1005;
986
984
pub const SO_RCVTIMEO : :: c_int = 0x1006 ;
987
985
pub const SO_ERROR : :: c_int = 0x1007 ;
988
986
pub const SO_TYPE : :: c_int = 0x1008 ;
987
+ pub const SO_LABEL : :: c_int = 0x1010 ;
988
+ pub const SO_PEERLABEL : :: c_int = 0x1011 ;
989
989
pub const SO_NREAD : :: c_int = 0x1020 ;
990
990
pub const SO_NKE : :: c_int = 0x1021 ;
991
991
pub const SO_NOSIGPIPE : :: c_int = 0x1022 ;
992
992
pub const SO_NOADDRERR : :: c_int = 0x1023 ;
993
993
pub const SO_NWRITE : :: c_int = 0x1024 ;
994
+ pub const SO_REUSESHAREUID : :: c_int = 0x1025 ;
995
+ pub const SO_NOTIFYCONFLICT : :: c_int = 0x1026 ;
996
+ pub const SO_RANDOMPORT : :: c_int = 0x1082 ;
997
+ pub const SO_NP_EXTENSIONS : :: c_int = 0x1083 ;
994
998
995
999
pub const MSG_OOB : :: c_int = 0x1 ;
996
1000
pub const MSG_PEEK : :: c_int = 0x2 ;
@@ -1008,7 +1012,6 @@ pub const MSG_HAVEMORE: ::c_int = 0x2000;
1008
1012
pub const MSG_RCVMORE : :: c_int = 0x4000 ;
1009
1013
// pub const MSG_COMPAT: ::c_int = 0x8000;
1010
1014
1011
- pub const SCM_RIGHTS : :: c_int = 0x01 ;
1012
1015
pub const SCM_TIMESTAMP : :: c_int = 0x02 ;
1013
1016
pub const SCM_CREDS : :: c_int = 0x03 ;
1014
1017
0 commit comments