table of contents
other versions
- jessie 3.16.56-1+deb8u1
SKB_COW(9) | Linux Networking | SKB_COW(9) |
NAME¶
skb_cow - copy header of skb when it is requiredSYNOPSIS¶
int
skb_cow(struct sk_buff * skb,
unsigned int headroom);
ARGUMENTS¶
skbbuffer to cow
headroom
needed headroom
DESCRIPTION¶
If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least headroom of space at head.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |