eth_skb_pad(9)

eth_skb_pad9

Pad buffer to mininum number of octets for ethernet frame

Usage

int eth_skb_pad(struct sk_buff * skb);

Arguments

skb

Buffer to pad

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.