File tree Expand file tree Collapse file tree 6 files changed +10
-2
lines changed Expand file tree Collapse file tree 6 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2489,6 +2489,8 @@ pub const AF_VSOCK: ::c_int = 40;
2489
2489
pub const PF_NFC : :: c_int = AF_NFC ;
2490
2490
pub const PF_VSOCK : :: c_int = AF_VSOCK ;
2491
2491
2492
+ pub const SOMAXCONN : :: c_int = 128 ;
2493
+
2492
2494
// sys/system_properties.h
2493
2495
pub const PROP_VALUE_MAX : :: c_int = 92 ;
2494
2496
pub const PROP_NAME_MAX : :: c_int = 32 ;
Original file line number Diff line number Diff line change @@ -1669,6 +1669,8 @@ pub const PRIO_PROCESS: ::c_int = 0;
1669
1669
pub const PRIO_PGRP : :: c_int = 1 ;
1670
1670
pub const PRIO_USER : :: c_int = 2 ;
1671
1671
1672
+ pub const SOMAXCONN : :: c_int = 128 ;
1673
+
1672
1674
f ! {
1673
1675
pub fn CMSG_NXTHDR ( mhdr: * const msghdr,
1674
1676
cmsg: * const cmsghdr) -> * mut cmsghdr {
Original file line number Diff line number Diff line change @@ -1025,6 +1025,8 @@ pub const STATX_ATTR_NODUMP: ::c_int = 0x0040;
1025
1025
pub const STATX_ATTR_ENCRYPTED : :: c_int = 0x0800 ;
1026
1026
pub const STATX_ATTR_AUTOMOUNT : :: c_int = 0x1000 ;
1027
1027
1028
+ pub const SOMAXCONN : :: c_int = 4096 ;
1029
+
1028
1030
//sys/timex.h
1029
1031
pub const ADJ_OFFSET : :: c_uint = 0x0001 ;
1030
1032
pub const ADJ_FREQUENCY : :: c_uint = 0x0002 ;
Original file line number Diff line number Diff line change @@ -529,6 +529,8 @@ pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
529
529
pub const SOCK_DCCP : :: c_int = 6 ;
530
530
pub const SOCK_PACKET : :: c_int = 10 ;
531
531
532
+ pub const SOMAXCONN : :: c_int = 128 ;
533
+
532
534
#[ deprecated( since = "0.2.55" , note = "Use SIGSYS instead" ) ]
533
535
pub const SIGUNUSED : :: c_int = :: SIGSYS ;
534
536
Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ pub const PRIO_PROCESS: ::c_int = 0;
235
235
pub const PRIO_PGRP : :: c_int = 1 ;
236
236
pub const PRIO_USER : :: c_int = 2 ;
237
237
238
+ pub const SOMAXCONN : :: c_int = 128 ;
239
+
238
240
pub const ST_RELATIME : :: c_ulong = 4096 ;
239
241
240
242
pub const AF_NFC : :: c_int = PF_NFC ;
Original file line number Diff line number Diff line change @@ -759,8 +759,6 @@ pub const PF_IEEE802154: ::c_int = AF_IEEE802154;
759
759
pub const PF_CAIF : :: c_int = AF_CAIF ;
760
760
pub const PF_ALG : :: c_int = AF_ALG ;
761
761
762
- pub const SOMAXCONN : :: c_int = 128 ;
763
-
764
762
pub const MSG_OOB : :: c_int = 1 ;
765
763
pub const MSG_PEEK : :: c_int = 2 ;
766
764
pub const MSG_DONTROUTE : :: c_int = 4 ;
You can’t perform that action at this time.
0 commit comments