Skip to content

Commit

Permalink
ipv6: add struct hop_jumbo_hdr definition
Browse files Browse the repository at this point in the history
Following patches will need to add and remove local IPv6 jumbogram
options to enable BIG TCP.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 16, 2022
1 parent 9957b38 commit 7c96d8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/net/ipv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c96d8e

Please sign in to comment.