Skip to content

Commit 7c96d8e

Browse files
edumazetdavem330
authored andcommitted
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 <[email protected]> Acked-by: Alexander Duyck <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9957b38 commit 7c96d8e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

include/net/ipv6.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ struct frag_hdr {
151151
__be32 identification;
152152
};
153153

154+
/*
155+
* Jumbo payload option, as described in RFC 2675 2.
156+
*/
157+
struct hop_jumbo_hdr {
158+
u8 nexthdr;
159+
u8 hdrlen;
160+
u8 tlv_type; /* IPV6_TLV_JUMBO, 0xC2 */
161+
u8 tlv_len; /* 4 */
162+
__be32 jumbo_payload_len;
163+
};
164+
154165
#define IP6_MF 0x0001
155166
#define IP6_OFFSET 0xFFF8
156167

0 commit comments

Comments
 (0)