Lines Matching refs:h2
166 struct tpacket2_hdr *h2; member
380 WRITE_ONCE(h.h2->tp_status, status); in __packet_set_status()
381 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_set_status()
409 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_get_status()
410 return READ_ONCE(h.h2->tp_status); in __packet_get_status()
462 h.h2->tp_sec = ts.tv_sec; in __packet_set_timestamp()
463 h.h2->tp_nsec = ts.tv_nsec; in __packet_set_timestamp()
2226 BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32); in tpacket_rcv()
2386 h.h2->tp_len = skb->len; in tpacket_rcv()
2387 h.h2->tp_snaplen = snaplen; in tpacket_rcv()
2388 h.h2->tp_mac = macoff; in tpacket_rcv()
2389 h.h2->tp_net = netoff; in tpacket_rcv()
2390 h.h2->tp_sec = ts.tv_sec; in tpacket_rcv()
2391 h.h2->tp_nsec = ts.tv_nsec; in tpacket_rcv()
2393 h.h2->tp_vlan_tci = skb_vlan_tag_get(skb); in tpacket_rcv()
2394 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto); in tpacket_rcv()
2397 h.h2->tp_vlan_tci = 0; in tpacket_rcv()
2398 h.h2->tp_vlan_tpid = 0; in tpacket_rcv()
2400 memset(h.h2->tp_padding, 0, sizeof(h.h2->tp_padding)); in tpacket_rcv()
2401 hdrlen = sizeof(*h.h2); in tpacket_rcv()
2626 tp_len = ph.h2->tp_len; in tpacket_parse_header()
2648 off = ph.h2->tp_net; in tpacket_parse_header()
2660 off = ph.h2->tp_mac; in tpacket_parse_header()