1SKB_PAD(9) Linux Networking SKB_PAD(9)
23
4
NAME
6skb_pad - zero pad the tail of an skb
7
SYNOPSIS
9int skb_pad(struct sk_buff * skb, int pad);
10
ARGUMENTS
12skb
13buffer to pad
1415
pad
16space to pad
17
DESCRIPTION
19Ensure that a buffer is followed by a padding area that is zero filled.
20Used by network drivers which may DMA or transfer data beyond the
21buffer end onto the wire.
2223
May return error in out of memory cases. The skb is freed on error.
24
COPYRIGHT
26Kernel Hackers Manual 2.6. June 2019 SKB_PAD(9)