'\" t .\" Title: eth_header_parse .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "ETH_HEADER_PARSE" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "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_header_parse \- extract hardware address from packet .SH "SYNOPSIS" .HP \w'int\ eth_header_parse('u .BI "int eth_header_parse(const\ struct\ sk_buff\ *\ " "skb" ", unsigned\ char\ *\ " "haddr" ");" .SH "ARGUMENTS" .PP \fIconst struct sk_buff * skb\fR .RS 4 packet to extract header from .RE .PP \fIunsigned char * haddr\fR .RS 4 destination buffer .RE .SH "COPYRIGHT" .br