eth_rebuild_header

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.