table of contents
other versions
ETH_GET_HEADLEN(9) | Network device support | ETH_GET_HEADLEN(9) |
NAME¶
eth_get_headlen - determine the length of header for an ethernet frame
SYNOPSIS¶
u32 eth_get_headlen(void * data, unsigned int len);
ARGUMENTS¶
void * data
pointer to start of frame
unsigned int len
total length of frame
DESCRIPTION¶
Make a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |