Searched refs:tp_mac (Results 1 – 4 of 4) sorted by relevance
99 __u16 tp_mac; member134 unsigned short tp_mac; member148 __u16 tp_mac; member171 __u16 tp_mac; member
259 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx()265 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx()574 bytes_with_padding += ALIGN_8(ppd->tp_snaplen + ppd->tp_mac); in __v3_walk_block()576 test_payload((uint8_t *) ppd + ppd->tp_mac, ppd->tp_snaplen); in __v3_walk_block()
2292 h.h1->tp_mac = macoff; in tpacket_rcv()2301 h.h2->tp_mac = macoff; in tpacket_rcv()2323 h.h3->tp_mac = macoff; in tpacket_rcv()2575 off = ph.h3->tp_mac; in tpacket_parse_header()2578 off = ph.h2->tp_mac; in tpacket_parse_header()2581 off = ph.h1->tp_mac; in tpacket_parse_header()3372 aux.tp_mac = 0; in packet_recvmsg()
176 can set tp_net (with SOCK_DGRAM) or tp_mac (with SOCK_RAW). In order378 - Start+tp_mac: [ Optional MAC header ]867 struct ethhdr *eth = (struct ethhdr *) ((uint8_t *) ppd + ppd->tp_mac);