diff options
Diffstat (limited to 'include/linux/tcp.h')
| -rw-r--r-- | include/linux/tcp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 1a7adb411647..0caa3a2d4106 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
| @@ -58,6 +58,7 @@ static inline unsigned int tcp_optlen(const struct sk_buff *skb) | |||
| 58 | struct tcp_fastopen_cookie { | 58 | struct tcp_fastopen_cookie { |
| 59 | s8 len; | 59 | s8 len; |
| 60 | u8 val[TCP_FASTOPEN_COOKIE_MAX]; | 60 | u8 val[TCP_FASTOPEN_COOKIE_MAX]; |
| 61 | bool exp; /* In RFC6994 experimental option format */ | ||
| 61 | }; | 62 | }; |
| 62 | 63 | ||
| 63 | /* This defines a selective acknowledgement block. */ | 64 | /* This defines a selective acknowledgement block. */ |
| @@ -111,7 +112,7 @@ struct tcp_request_sock_ops; | |||
| 111 | struct tcp_request_sock { | 112 | struct tcp_request_sock { |
| 112 | struct inet_request_sock req; | 113 | struct inet_request_sock req; |
| 113 | const struct tcp_request_sock_ops *af_specific; | 114 | const struct tcp_request_sock_ops *af_specific; |
| 114 | struct sock *listener; /* needed for TFO */ | 115 | bool tfo_listener; |
| 115 | u32 rcv_isn; | 116 | u32 rcv_isn; |
| 116 | u32 snt_isn; | 117 | u32 snt_isn; |
| 117 | u32 snt_synack; /* synack sent time */ | 118 | u32 snt_synack; /* synack sent time */ |
| @@ -188,6 +189,7 @@ struct tcp_sock { | |||
| 188 | u8 do_early_retrans:1,/* Enable RFC5827 early-retransmit */ | 189 | u8 do_early_retrans:1,/* Enable RFC5827 early-retransmit */ |
| 189 | syn_data:1, /* SYN includes data */ | 190 | syn_data:1, /* SYN includes data */ |
| 190 | syn_fastopen:1, /* SYN includes Fast Open option */ | 191 | syn_fastopen:1, /* SYN includes Fast Open option */ |
| 192 | syn_fastopen_exp:1,/* SYN includes Fast Open exp. option */ | ||
| 191 | syn_data_acked:1,/* data in SYN is acked by SYN-ACK */ | 193 | syn_data_acked:1,/* data in SYN is acked by SYN-ACK */ |
| 192 | is_cwnd_limited:1;/* forward progress limited by snd_cwnd? */ | 194 | is_cwnd_limited:1;/* forward progress limited by snd_cwnd? */ |
| 193 | u32 tlp_high_seq; /* snd_nxt at the time of TLP retransmit. */ | 195 | u32 tlp_high_seq; /* snd_nxt at the time of TLP retransmit. */ |
| @@ -236,7 +238,6 @@ struct tcp_sock { | |||
| 236 | u32 lost_out; /* Lost packets */ | 238 | u32 lost_out; /* Lost packets */ |
| 237 | u32 sacked_out; /* SACK'd packets */ | 239 | u32 sacked_out; /* SACK'd packets */ |
| 238 | u32 fackets_out; /* FACK'd packets */ | 240 | u32 fackets_out; /* FACK'd packets */ |
| 239 | u32 tso_deferred; | ||
| 240 | 241 | ||
| 241 | /* from STCP, retrans queue hinting */ | 242 | /* from STCP, retrans queue hinting */ |
| 242 | struct sk_buff* lost_skb_hint; | 243 | struct sk_buff* lost_skb_hint; |
