skb_push (9) - Linux Man Pages
skb_push: add data to the start of a buffer
skb_push - add data to the start of a buffer
unsigned char * skb_push(struct sk_buff
*skb, unsigned int len);
- buffer to use
- amount of data to add
This function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.