1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// This file is part of file-descriptors. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/file-descriptors/master/COPYRIGHT. No part of file-descriptors, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright ©2018-2019 The developers of file-descriptors. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/file-descriptors/master/COPYRIGHT.
///
pub const TCP_NODELAY: c_int = 1;
///
pub const TCP_MAXSEG: c_int = 2;
///
pub const TCP_CORK: c_int = 3;
///
pub const TCP_KEEPIDLE: c_int = 4;
///
pub const TCP_KEEPINTVL: c_int = 5;
///
pub const TCP_KEEPCNT: c_int = 6;
///
pub const TCP_SYNCNT: c_int = 7;
///
pub const TCP_LINGER2: c_int = 8;
///
pub const TCP_DEFER_ACCEPT: c_int = 9;
///
pub const TCP_WINDOW_CLAMP: c_int = 10;
///
pub const TCP_INFO: c_int = 11;
///
pub const TCP_QUICKACK: c_int = 12;
///
pub const TCP_CONGESTION: c_int = 13;
///
pub const TCP_MD5SIG: c_int = 14;
///
pub const TCP_THIN_LINEAR_TIMEOUTS: c_int = 16;
///
pub const TCP_THIN_DUPACK: c_int = 17;
///
pub const TCP_USER_TIMEOUT: c_int = 18;
///
pub const TCP_REPAIR: c_int = 19;
///
pub const TCP_REPAIR_QUEUE: c_int = 20;
///
pub const TCP_QUEUE_SEQ: c_int = 21;
///
pub const TCP_REPAIR_OPTIONS: c_int = 22;
///
pub const TCP_FASTOPEN: c_int = 23;
///
pub const TCP_TIMESTAMP: c_int = 24;
///
pub const TCP_NOTSENT_LOWAT: c_int = 25;
///
pub const TCP_CC_INFO: c_int = 26;
///
pub const TCP_SAVE_SYN: c_int = 27;
///
pub const TCP_SAVED_SYN: c_int = 28;
///
pub const TCP_REPAIR_WINDOW: c_int = 29;
///
pub const TCP_FASTOPEN_CONNECT: c_int = 30;
///
pub const TCP_ULP: c_int = 31;
///
pub const TCP_MD5SIG_EXT: c_int = 32;
///
pub const TCP_FASTOPEN_KEY: c_int = 33;
///
pub const TCP_FASTOPEN_NO_COOKIE: c_int = 34;
///
pub const TCP_ZEROCOPY_RECEIVE: c_int = 35;
///
pub const TCP_INQ: c_int = 36;