1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.channel.epoll;
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 public final class EpollTcpInfo {
63
64 final long[] info = new long[32];
65
66 public int state() {
67 return (int) info[0];
68 }
69
70 public int caState() {
71 return (int) info[1];
72 }
73
74 public int retransmits() {
75 return (int) info[2];
76 }
77
78 public int probes() {
79 return (int) info[3];
80 }
81
82 public int backoff() {
83 return (int) info[4];
84 }
85
86 public int options() {
87 return (int) info[5];
88 }
89
90 public int sndWscale() {
91 return (int) info[6];
92 }
93
94 public int rcvWscale() {
95 return (int) info[7];
96 }
97
98 public long rto() {
99 return info[8];
100 }
101
102 public long ato() {
103 return info[9];
104 }
105
106 public long sndMss() {
107 return info[10];
108 }
109
110 public long rcvMss() {
111 return info[11];
112 }
113
114 public long unacked() {
115 return info[12];
116 }
117
118 public long sacked() {
119 return info[13];
120 }
121
122 public long lost() {
123 return info[14];
124 }
125
126 public long retrans() {
127 return info[15];
128 }
129
130 public long fackets() {
131 return info[16];
132 }
133
134 public long lastDataSent() {
135 return info[17];
136 }
137
138 public long lastAckSent() {
139 return info[18];
140 }
141
142 public long lastDataRecv() {
143 return info[19];
144 }
145
146 public long lastAckRecv() {
147 return info[20];
148 }
149
150 public long pmtu() {
151 return info[21];
152 }
153
154 public long rcvSsthresh() {
155 return info[22];
156 }
157
158 public long rtt() {
159 return info[23];
160 }
161
162 public long rttvar() {
163 return info[24];
164 }
165
166 public long sndSsthresh() {
167 return info[25];
168 }
169
170 public long sndCwnd() {
171 return info[26];
172 }
173
174 public long advmss() {
175 return info[27];
176 }
177
178 public long reordering() {
179 return info[28];
180 }
181
182 public long rcvRtt() {
183 return info[29];
184 }
185
186 public long rcvSpace() {
187 return info[30];
188 }
189
190 public long totalRetrans() {
191 return info[31];
192 }
193 }