'\" t .\" Title: eth_proto_is_802_3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ETH_PROTO_IS_802_3" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_proto_is_802_3 \- Determine if a given Ethertype/length is a protocol .SH "SYNOPSIS" .HP \w'bool\ eth_proto_is_802_3('u .BI "bool eth_proto_is_802_3(__be16\ " "proto" ");" .SH "ARGUMENTS" .PP \fIproto\fR .RS 4 Ethertype/length value to be tested .RE .SH "DESCRIPTION" .PP Check that the value from the Ethertype/length field is a valid Ethertype\&. .PP Return true if the valid is an 802\&.3 supported Ethertype\&. .SH "COPYRIGHT" .br