File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ pub const EFD_SEMAPHORE: ::c_int = 0x1;
22
22
pub const EFD_NONBLOCK : :: c_int = 0x800 ;
23
23
pub const EFD_CLOEXEC : :: c_int = 0x80000 ;
24
24
25
+ pub const TCP_KEEPIDLE : :: c_int = 34 ;
26
+ pub const TCP_KEEPCNT : :: c_int = 35 ;
27
+ pub const TCP_KEEPINTVL : :: c_int = 36 ;
28
+
25
29
extern "C" {
26
30
pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
27
31
Original file line number Diff line number Diff line change @@ -1386,9 +1386,6 @@ pub const IPV6_JOIN_GROUP: ::c_int = 9;
1386
1386
pub const IPV6_LEAVE_GROUP : :: c_int = 10 ;
1387
1387
1388
1388
pub const TCP_NODELAY : :: c_int = 1 ;
1389
- pub const TCP_KEEPIDLE : :: c_int = 34 ;
1390
- pub const TCP_KEEPCNT : :: c_int = 35 ;
1391
- pub const TCP_KEEPINTVL : :: c_int = 36 ;
1392
1389
1393
1390
pub const SOL_SOCKET : :: c_int = 0xffff ;
1394
1391
pub const SO_DEBUG : :: c_int = 0x01 ;
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ pub const PORT_SOURCE_SIGNAL: ::c_int = 9;
32
32
pub const AF_LOCAL : :: c_int = 0 ;
33
33
pub const AF_FILE : :: c_int = 0 ;
34
34
35
+ pub const TCP_KEEPIDLE : :: c_int = 0x1d ;
36
+ pub const TCP_KEEPCNT : :: c_int = 0x1e ;
37
+ pub const TCP_KEEPINTVL : :: c_int = 0x1f ;
38
+
35
39
extern "C" {
36
40
pub fn fexecve (
37
41
fd : :: c_int ,
You can’t perform that action at this time.
0 commit comments