1SKB_COW(9)                     Linux Networking                     SKB_COW(9)
2
3
4

NAME

6       skb_cow - copy header of skb when it is required
7

SYNOPSIS

9       int skb_cow(struct sk_buff * skb, unsigned int headroom);
10

ARGUMENTS

12       skb
13           buffer to cow
14
15       headroom
16           needed headroom
17

DESCRIPTION

19       If the skb passed lacks sufficient headroom or its data part is shared,
20       data is reallocated. If reallocation fails, an error is returned and
21       original skb is not changed.
22
23       The result is skb with writable area skb->head...skb->tail and at least
24       headroom of space at head.
25
27Kernel Hackers Manual 3.10         June 2019                        SKB_COW(9)
Impressum