From: Eric Dumazet Date: Fri, 13 May 2022 18:34:00 +0000 (-0700) Subject: ipv6: add struct hop_jumbo_hdr definition X-Git-Tag: v6.1-rc5~1274^2~108^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c96d8ec96bb71aac54c9f872aaa65d7411ab864;p=platform%2Fkernel%2Flinux-starfive.git ipv6: add struct hop_jumbo_hdr definition Following patches will need to add and remove local IPv6 jumbogram options to enable BIG TCP. Signed-off-by: Eric Dumazet Acked-by: Alexander Duyck Signed-off-by: David S. Miller --- diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 213612f..63d0199 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -151,6 +151,17 @@ struct frag_hdr { __be32 identification; }; +/* + * Jumbo payload option, as described in RFC 2675 2. + */ +struct hop_jumbo_hdr { + u8 nexthdr; + u8 hdrlen; + u8 tlv_type; /* IPV6_TLV_JUMBO, 0xC2 */ + u8 tlv_len; /* 4 */ + __be32 jumbo_payload_len; +}; + #define IP6_MF 0x0001 #define IP6_OFFSET 0xFFF8