Searched refs:tp_mac (Results 1 – 4 of 4) sorted by relevance
87 __u16 tp_mac; member122 unsigned short tp_mac; member136 __u16 tp_mac; member159 __u16 tp_mac; member
258 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx()264 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx()518 bytes_with_padding += ALIGN_8(ppd->tp_snaplen + ppd->tp_mac); in __v3_walk_block()520 test_payload((uint8_t *) ppd + ppd->tp_mac, ppd->tp_snaplen); in __v3_walk_block()
2001 h.h1->tp_mac = macoff; in tpacket_rcv()2010 h.h2->tp_mac = macoff; in tpacket_rcv()2032 h.h3->tp_mac = macoff; in tpacket_rcv()2185 off = ph.h2->tp_mac; in tpacket_fill_skb()2188 off = ph.h1->tp_mac; in tpacket_fill_skb()3053 aux.tp_mac = 0; in packet_recvmsg()
188 can set tp_net (with SOCK_DGRAM) or tp_mac (with SOCK_RAW). In order390 - Start+tp_mac: [ Optional MAC header ]874 struct ethhdr *eth = (struct ethhdr *) ((uint8_t *) ppd + ppd->tp_mac);