mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
[IPV6]: Added GSO support for TCPv6
This patch adds GSO support for IPv6 and TCPv6. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2889139a6a
commit
adcfc7d0b4
5 changed files with 72 additions and 2 deletions
|
@ -50,11 +50,17 @@ struct inet6_protocol
|
|||
struct inet6_skb_parm *opt,
|
||||
int type, int code, int offset,
|
||||
__u32 info);
|
||||
|
||||
struct sk_buff *(*gso_segment)(struct sk_buff *skb,
|
||||
int features);
|
||||
|
||||
unsigned int flags; /* INET6_PROTO_xxx */
|
||||
};
|
||||
|
||||
#define INET6_PROTO_NOPOLICY 0x1
|
||||
#define INET6_PROTO_FINAL 0x2
|
||||
/* This should be set for any extension header which is compatible with GSO. */
|
||||
#define INET6_PROTO_GSO_EXTHDR 0x4
|
||||
#endif
|
||||
|
||||
/* This is used to register socket interfaces for IP protocols. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue