diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 92969f662ee4..9b2957d203c9 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -86,6 +86,7 @@ | |||
86 | */ | 86 | */ |
87 | 87 | ||
88 | struct net_device; | 88 | struct net_device; |
89 | struct scatterlist; | ||
89 | 90 | ||
90 | #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) | 91 | #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) |
91 | struct nf_conntrack { | 92 | struct nf_conntrack { |
@@ -347,6 +348,11 @@ extern struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, | |||
347 | extern struct sk_buff *skb_copy_expand(const struct sk_buff *skb, | 348 | extern struct sk_buff *skb_copy_expand(const struct sk_buff *skb, |
348 | int newheadroom, int newtailroom, | 349 | int newheadroom, int newtailroom, |
349 | gfp_t priority); | 350 | gfp_t priority); |
351 | extern int skb_to_sgvec(struct sk_buff *skb, | ||
352 | struct scatterlist *sg, int offset, | ||
353 | int len); | ||
354 | extern int skb_cow_data(struct sk_buff *skb, int tailbits, | ||
355 | struct sk_buff **trailer); | ||
350 | extern int skb_pad(struct sk_buff *skb, int pad); | 356 | extern int skb_pad(struct sk_buff *skb, int pad); |
351 | #define dev_kfree_skb(a) kfree_skb(a) | 357 | #define dev_kfree_skb(a) kfree_skb(a) |
352 | extern void skb_over_panic(struct sk_buff *skb, int len, | 358 | extern void skb_over_panic(struct sk_buff *skb, int len, |