diff options
author | Zhang Ying-22455 <ying.zhang22455@nxp.com> | 2017-09-01 06:56:01 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:47 (GMT) |
commit | eae03a91605fd7dccb1de11053efee87db398df3 (patch) | |
tree | 43822d37102e5a7d5013ef2c1d2b4e4b5ba26b07 /include/linux | |
parent | e7216fd65b443651bc9a261f8ce8fb3f6a20af72 (diff) | |
download | linux-eae03a91605fd7dccb1de11053efee87db398df3.tar.xz |
linux/core: export copy_skb_header() function
Signed-off-by: Camelia Groza camelia.groza@nxp.com
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/skbuff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index a52a6fb..a0385f9 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -3063,6 +3063,7 @@ static inline void skb_free_datagram_locked(struct sock *sk, } int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags); int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len); +void copy_skb_header(struct sk_buff *new, const struct sk_buff *old); int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len); __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, int len, __wsum csum); |