Changeset 331 for EcnlProtoTool/trunk/musl-1.1.18/include/netinet/tcp.h
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- Location:
- EcnlProtoTool/trunk/musl-1.1.18
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/musl-1.1.18/include/netinet/tcp.h
r321 r331 28 28 #define TCP_TIMESTAMP 24 29 29 #define TCP_NOTSENT_LOWAT 25 30 #define TCP_CC_INFO 26 31 #define TCP_SAVE_SYN 27 32 #define TCP_SAVED_SYN 28 33 #define TCP_REPAIR_WINDOW 29 30 34 31 35 #define TCP_ESTABLISHED 1 … … 42 46 43 47 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 48 #define TCPOPT_EOL 0 49 #define TCPOPT_NOP 1 50 #define TCPOPT_MAXSEG 2 51 #define TCPOPT_WINDOW 3 52 #define TCPOPT_SACK_PERMITTED 4 53 #define TCPOPT_SACK 5 54 #define TCPOPT_TIMESTAMP 8 55 #define TCPOLEN_SACK_PERMITTED 2 56 #define TCPOLEN_WINDOW 3 57 #define TCPOLEN_MAXSEG 4 58 #define TCPOLEN_TIMESTAMP 10 59 44 60 #define SOL_TCP 6 61 45 62 #include <sys/types.h> 46 63 #include <sys/socket.h> … … 130 147 #define TCP_CA_Loss 4 131 148 132 struct tcp_info 133 { 149 struct tcp_info { 134 150 uint8_t tcpi_state; 135 151 uint8_t tcpi_ca_state; … … 139 155 uint8_t tcpi_options; 140 156 uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; 157 uint8_t tcpi_delivery_rate_app_limited : 1; 141 158 uint32_t tcpi_rto; 142 159 uint32_t tcpi_ato; … … 165 182 uint64_t tcpi_pacing_rate; 166 183 uint64_t tcpi_max_pacing_rate; 184 uint64_t tcpi_bytes_acked; 185 uint64_t tcpi_bytes_received; 186 uint32_t tcpi_segs_out; 187 uint32_t tcpi_segs_in; 188 uint32_t tcpi_notsent_bytes; 189 uint32_t tcpi_min_rtt; 190 uint32_t tcpi_data_segs_in; 191 uint32_t tcpi_data_segs_out; 192 uint64_t tcpi_delivery_rate; 167 193 }; 168 194 169 195 #define TCP_MD5SIG_MAXKEYLEN 80 170 196 171 struct tcp_md5sig 172 { 197 struct tcp_md5sig { 173 198 struct sockaddr_storage tcpm_addr; 174 199 uint16_t __tcpm_pad1; … … 178 203 }; 179 204 180 #endif 181 182 #endif 205 struct tcp_repair_window { 206 uint32_t snd_wl1; 207 uint32_t snd_wnd; 208 uint32_t max_window; 209 uint32_t rcv_wnd; 210 uint32_t rcv_wup; 211 }; 212 213 #endif 214 215 #endif
Note:
See TracChangeset
for help on using the changeset viewer.