Searched refs:maclen (Results 1 – 2 of 2) sorted by relevance
18 int afs_get_MAC_address(u8 *mac, size_t maclen) in afs_get_MAC_address() argument23 BUG_ON(maclen != ETH_ALEN); in afs_get_MAC_address()28 memcpy(mac, dev->dev_addr, maclen); in afs_get_MAC_address()
723 unsigned maclen = skb_network_offset(skb); in tpacket_rcv() local725 (maclen < 16 ? 16 : maclen)) + in tpacket_rcv()727 macoff = netoff - maclen; in tpacket_rcv()