'\" t .\" Title: eth_rebuild_header .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "ETH_REBUILD_HEADER" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Network device support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" eth_rebuild_header \- rebuild the Ethernet MAC header\&. .SH "SYNOPSIS" .HP \w'int\ eth_rebuild_header('u .BI "int eth_rebuild_header(struct\ sk_buff\ *\ " "skb" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 socket buffer to update .RE .SH "DESCRIPTION" .PP This is called after an ARP or IPV6 ndisc it\*(Aqs resolution on this sk_buff\&. We now let protocol (ARP) fill in the other fields\&. .PP This routine CANNOT use cached dst\->neigh! Really, it is used only when dst\->neigh is wrong\&. .SH "COPYRIGHT" .br