|
@@ -62,8 +62,13 @@ static inline unsigned int tcp_optlen(const struct sk_buff *skb)
|
|
|
|
|
|
/* TCP Fast Open Cookie as stored in memory */
|
|
/* TCP Fast Open Cookie as stored in memory */
|
|
struct tcp_fastopen_cookie {
|
|
struct tcp_fastopen_cookie {
|
|
|
|
+ union {
|
|
|
|
+ u8 val[TCP_FASTOPEN_COOKIE_MAX];
|
|
|
|
+#if IS_ENABLED(CONFIG_IPV6)
|
|
|
|
+ struct in6_addr addr;
|
|
|
|
+#endif
|
|
|
|
+ };
|
|
s8 len;
|
|
s8 len;
|
|
- u8 val[TCP_FASTOPEN_COOKIE_MAX];
|
|
|
|
bool exp; /* In RFC6994 experimental option format */
|
|
bool exp; /* In RFC6994 experimental option format */
|
|
};
|
|
};
|
|
|
|
|