AccECN option may fail in various way, handle these: - Attempt to negotiate the use of AccECN on the 1st retransmitted SYN - From the 2nd retransmitted SYN, stop AccECN negotiation - Remove option from SYN/ACK rexmits to handle blackholes - If no option arrives in SYN/ACK, assume Option is not usable - If an option arrives later, re-enabled - If option is zeroed, disable AccECN option processing This patch use existing padding bits in tcp_request_sock and holes in tcp_sock without increasing the size.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -323,6 +323,8 @@ struct tcp_info { · 322 unmodified lines | ||
| 323 | 323 | __u32 tcpi_received_e1_bytes; |
| 324 | 324 | __u32 tcpi_received_e0_bytes; |
| 325 | 325 | __u32 tcpi_received_ce_bytes; |
| 326 | + __u16 tcpi_accecn_fail_mode; | |
| 327 | + __u16 tcpi_accecn_opt_seen; | |
| 326 | 328 | }; |
| 327 | 329 | |
| 328 | 330 | /* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */ |