eth_header_parse(9) extract hardware address from packet

SYNOPSIS

int eth_header_parse(const struct sk_buff * skb, unsigned char * haddr);

ARGUMENTS

skb

packet to extract header from

haddr

destination buffer

COPYRIGHT