Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\etherdevice.h Create Date:2022-07-28 06:05:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:h_skb_pad - Pad buffer to mininum number of octets for Ethernet frame*@skb: Buffer to pad* An Ethernet frame should have a minimum size of 60 bytes. This function* takes short frames and pads them with zeros up to the 60 byte limit.

Proto:static inline int eth_skb_pad(struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
532  Return skb_put_padto - increase size and pad an skbuff up to a minimal size*@skb: buffer to pad*@len: minimal length* Pads up a buffer to ensure the trailing bytes exist and are* blanked. If the buffer already contains sufficient data it* is untouched