Lines Matching defs:h2
168 struct tpacket2_hdr *h2;
413 WRITE_ONCE(h.h2->tp_status, status);
414 flush_dcache_page(pgv_to_page(&h.h2->tp_status));
442 flush_dcache_page(pgv_to_page(&h.h2->tp_status));
443 return READ_ONCE(h.h2->tp_status);
495 h.h2->tp_sec = ts.tv_sec;
496 h.h2->tp_nsec = ts.tv_nsec;
2258 BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
2421 h.h2->tp_len = skb->len;
2422 h.h2->tp_snaplen = snaplen;
2423 h.h2->tp_mac = macoff;
2424 h.h2->tp_net = netoff;
2425 h.h2->tp_sec = ts.tv_sec;
2426 h.h2->tp_nsec = ts.tv_nsec;
2428 h.h2->tp_vlan_tci = skb_vlan_tag_get(skb);
2429 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto);
2432 h.h2->tp_vlan_tci = 0;
2433 h.h2->tp_vlan_tpid = 0;
2435 memset(h.h2->tp_padding, 0, sizeof(h.h2->tp_padding));
2436 hdrlen = sizeof(*h.h2);
2667 tp_len = ph.h2->tp_len;
2689 off = ph.h2->tp_net;
2701 off = ph.h2->tp_mac;