table of contents
other versions
PSKB_PUT(9) | Linux Networking | PSKB_PUT(9) |
NAME¶
pskb_put - add data to the tail of a potentially fragmented buffer
SYNOPSIS¶
unsigned char * pskb_put(struct sk_buff * skb, struct sk_buff * tail, int len);
ARGUMENTS¶
struct sk_buff * skb
start of the buffer to use
struct sk_buff * tail
tail fragment of the buffer to use
int len
amount of data to add
DESCRIPTION¶
This function extends the used data area of the potentially fragmented buffer. tail must be the last fragment of skb -- or skb itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |