]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/tcp.h
net: ipv4: move tcp_fastopen server side code to SipHash library
[linux.git] / include / linux / tcp.h
index c23019a3b2647b1240e1f7b01b6d6c3bd4ade179..9ea0e71f5c6a5a35807fee025fe843465e1e23ae 100644 (file)
@@ -58,12 +58,7 @@ static inline unsigned int tcp_optlen(const struct sk_buff *skb)
 
 /* TCP Fast Open Cookie as stored in memory */
 struct tcp_fastopen_cookie {
-       union {
-               u8      val[TCP_FASTOPEN_COOKIE_MAX];
-#if IS_ENABLED(CONFIG_IPV6)
-               struct in6_addr addr;
-#endif
-       };
+       u64     val[TCP_FASTOPEN_COOKIE_MAX / sizeof(u64)];
        s8      len;
        bool    exp;    /* In RFC6994 experimental option format */
 };