---
name: "eth_skb_pad"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/eth_skb_pad"
---

# eth\_skb\_pad(9)

Pad buffer to mininum number of octets for Ethernet frame

## NAME

eth\_skb\_pad - Pad buffer to mininum number of octets for Ethernet frame

## SYNOPSIS

**int eth\_skb\_pad(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

Buffer to pad

## DESCRIPTION

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.

## COPYRIGHT
