1__PSKB_PULL_TAIL(9) Linux Networking __PSKB_PULL_TAIL(9)
2
3
4
6 __pskb_pull_tail - advance tail of skb header
7
9 void * __pskb_pull_tail(struct sk_buff * skb, int delta);
10
12 skb
13 buffer to reallocate
14
15 delta
16 number of bytes to advance tail
17
19 The function makes a sense only on a fragmented sk_buff, it expands
20 header moving its tail forward and copying necessary data from
21 fragmented part.
22
23 sk_buff MUST have reference count of 1.
24
25 Returns NULL (and sk_buff does not change) if pull failed or value of
26 new tail of skb in the case of success.
27
28 All the pointers pointing into skb header may change and must be
29 reloaded after call to this function.
30
32Kernel Hackers Manual 3.10 June 2019 __PSKB_PULL_TAIL(9)