Searched refs:tp_mac (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/uapi/linux/
H A Dif_packet.h103 __u16 tp_mac; member in struct:tpacket_auxdata
139 unsigned short tp_mac; member in struct:tpacket_hdr
153 __u16 tp_mac; member in struct:tpacket2_hdr
176 __u16 tp_mac; member in struct:tpacket3_hdr
269 - Start+tp_mac: [ Optional MAC header ]
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c245 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac,
251 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac,
560 bytes_with_padding += ALIGN_8(ppd->tp_snaplen + ppd->tp_mac);
562 test_payload((uint8_t *) ppd + ppd->tp_mac, ppd->tp_snaplen);
/linux-master/net/packet/
H A Daf_packet.c2414 h.h1->tp_mac = macoff;
2423 h.h2->tp_mac = macoff;
2445 h.h3->tp_mac = macoff;
2699 off = ph.h3->tp_mac;
2702 off = ph.h2->tp_mac;
2705 off = ph.h1->tp_mac;
3537 aux.tp_mac = 0;

Completed in 112 milliseconds