include: add TCP fastopen option
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
fa19d6bc01
commit
7fde8cfddc
|
|
@ -430,6 +430,8 @@ enum {
|
||||||
#define RTAX_QUICKACK RTAX_QUICKACK
|
#define RTAX_QUICKACK RTAX_QUICKACK
|
||||||
RTAX_CC_ALGO,
|
RTAX_CC_ALGO,
|
||||||
#define RTAX_CC_ALGO RTAX_CC_ALGO
|
#define RTAX_CC_ALGO RTAX_CC_ALGO
|
||||||
|
RTAX_FASTOPEN_NO_COOKIE,
|
||||||
|
#define RTAX_FASTOPEN_NO_COOKIE RTAX_FASTOPEN_NO_COOKIE
|
||||||
__RTAX_MAX
|
__RTAX_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,6 +119,8 @@ enum {
|
||||||
#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */
|
#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */
|
||||||
#define TCP_ULP 31 /* Attach a ULP to a TCP connection */
|
#define TCP_ULP 31 /* Attach a ULP to a TCP connection */
|
||||||
#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */
|
#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */
|
||||||
|
#define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie) */
|
||||||
|
#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie */
|
||||||
|
|
||||||
struct tcp_repair_opt {
|
struct tcp_repair_opt {
|
||||||
__u32 opt_code;
|
__u32 opt_code;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue