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;
24892489pub const PF_NFC : :: c_int = AF_NFC ;
24902490pub const PF_VSOCK : :: c_int = AF_VSOCK ;
24912491
2492+ pub const SOMAXCONN : :: c_int = 128 ;
2493+
24922494// sys/system_properties.h
24932495pub const PROP_VALUE_MAX : :: c_int = 92 ;
24942496pub 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;
16691669pub const PRIO_PGRP : :: c_int = 1 ;
16701670pub const PRIO_USER : :: c_int = 2 ;
16711671
1672+ pub const SOMAXCONN : :: c_int = 128 ;
1673+
16721674f ! {
16731675 pub fn CMSG_NXTHDR ( mhdr: * const msghdr,
16741676 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;
10251025pub const STATX_ATTR_ENCRYPTED : :: c_int = 0x0800 ;
10261026pub const STATX_ATTR_AUTOMOUNT : :: c_int = 0x1000 ;
10271027
1028+ pub const SOMAXCONN : :: c_int = 4096 ;
1029+
10281030//sys/timex.h
10291031pub const ADJ_OFFSET : :: c_uint = 0x0001 ;
10301032pub 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;
529529pub const SOCK_DCCP : :: c_int = 6 ;
530530pub const SOCK_PACKET : :: c_int = 10 ;
531531
532+ pub const SOMAXCONN : :: c_int = 128 ;
533+
532534#[ deprecated( since = "0.2.55" , note = "Use SIGSYS instead" ) ]
533535pub const SIGUNUSED : :: c_int = :: SIGSYS ;
534536
Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ pub const PRIO_PROCESS: ::c_int = 0;
235235pub const PRIO_PGRP : :: c_int = 1 ;
236236pub const PRIO_USER : :: c_int = 2 ;
237237
238+ pub const SOMAXCONN : :: c_int = 128 ;
239+
238240pub const ST_RELATIME : :: c_ulong = 4096 ;
239241
240242pub 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;
759759pub const PF_CAIF : :: c_int = AF_CAIF ;
760760pub const PF_ALG : :: c_int = AF_ALG ;
761761
762- pub const SOMAXCONN : :: c_int = 128 ;
763-
764762pub const MSG_OOB : :: c_int = 1 ;
765763pub const MSG_PEEK : :: c_int = 2 ;
766764pub const MSG_DONTROUTE : :: c_int = 4 ;
You can’t perform that action at this time.
0 commit comments