---
name: "eth_rebuild_header"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/eth_rebuild_header"
---

# eth\_rebuild\_header(9)

rebuild the Ethernet MAC header.

## NAME

eth\_rebuild\_header - rebuild the Ethernet MAC header.

## SYNOPSIS

**int eth\_rebuild\_header(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

socket buffer to update

## DESCRIPTION

This is called after an ARP or IPV6 ndisc it's resolution on this sk\_buff. We now let protocol (ARP) fill in the other fields.

This routine CANNOT use cached dst-\>neigh! Really, it is used only when dst-\>neigh is wrong.

## COPYRIGHT
