1PSKB_PUT(9) Linux Networking PSKB_PUT(9)
2
3
4
6 pskb_put - add data to the tail of a potentially fragmented buffer
7
9 void * pskb_put(struct sk_buff * skb, struct sk_buff * tail, int len);
10
12 skb
13 start of the buffer to use
14
15 tail
16 tail fragment of the buffer to use
17
18 len
19 amount of data to add
20
22 This function extends the used data area of the potentially fragmented
23 buffer. tail must be the last fragment of skb -- or skb itself. If
24 this would exceed the total buffer size the kernel will panic. A
25 pointer to the first byte of the extra data is returned.
26
28Kernel Hackers Manual 3.10 June 2019 PSKB_PUT(9)