Searched refs:tp_mac (Results 1 – 4 of 4) sorted by relevance
97 __u16 tp_mac; member132 unsigned short tp_mac; member146 __u16 tp_mac; member169 __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()
2222 h.h1->tp_mac = macoff; in tpacket_rcv()2231 h.h2->tp_mac = macoff; in tpacket_rcv()2253 h.h3->tp_mac = macoff; in tpacket_rcv()2394 off = ph.h2->tp_mac; in tpacket_fill_skb()2397 off = ph.h1->tp_mac; in tpacket_fill_skb()3277 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);