|
@@ -128,6 +128,7 @@ struct inet6_skb_parm {
|
|
#define IP6SKB_FRAGMENTED 16
|
|
#define IP6SKB_FRAGMENTED 16
|
|
#define IP6SKB_HOPBYHOP 32
|
|
#define IP6SKB_HOPBYHOP 32
|
|
#define IP6SKB_L3SLAVE 64
|
|
#define IP6SKB_L3SLAVE 64
|
|
|
|
+#define IP6SKB_JUMBOGRAM 128
|
|
};
|
|
};
|
|
|
|
|
|
#if defined(CONFIG_NET_L3_MASTER_DEV)
|
|
#if defined(CONFIG_NET_L3_MASTER_DEV)
|
|
@@ -152,6 +153,11 @@ static inline int inet6_iif(const struct sk_buff *skb)
|
|
return l3_slave ? skb->skb_iif : IP6CB(skb)->iif;
|
|
return l3_slave ? skb->skb_iif : IP6CB(skb)->iif;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline bool inet6_is_jumbogram(const struct sk_buff *skb)
|
|
|
|
+{
|
|
|
|
+ return !!(IP6CB(skb)->flags & IP6SKB_JUMBOGRAM);
|
|
|
|
+}
|
|
|
|
+
|
|
/* can not be used in TCP layer after tcp_v6_fill_cb */
|
|
/* can not be used in TCP layer after tcp_v6_fill_cb */
|
|
static inline bool inet6_exact_dif_match(struct net *net, struct sk_buff *skb)
|
|
static inline bool inet6_exact_dif_match(struct net *net, struct sk_buff *skb)
|
|
{
|
|
{
|