1SKB_PUSH(9) Linux Networking SKB_PUSH(9)
23
4
NAME
6skb_push - add data to the start of a buffer
7
SYNOPSIS
9unsigned char * skb_push(struct sk_buff * skb, unsigned int len);
10
ARGUMENTS
12skb
13buffer to use
1415
len
16amount of data to add
17
DESCRIPTION
19This function extends the used data area of the buffer at the buffer
20start. If this would exceed the total buffer headroom the kernel will
21panic. A pointer to the first byte of the extra data is returned.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 SKB_PUSH(9)