Lines Matching defs:h2
168 struct tpacket2_hdr *h2;
412 WRITE_ONCE(h.h2->tp_status, status);
413 flush_dcache_page(pgv_to_page(&h.h2->tp_status));
441 flush_dcache_page(pgv_to_page(&h.h2->tp_status));
442 return READ_ONCE(h.h2->tp_status);
494 h.h2->tp_sec = ts.tv_sec;
495 h.h2->tp_nsec = ts.tv_nsec;
2251 BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
2414 h.h2->tp_len = skb->len;
2415 h.h2->tp_snaplen = snaplen;
2416 h.h2->tp_mac = macoff;
2417 h.h2->tp_net = netoff;
2418 h.h2->tp_sec = ts.tv_sec;
2419 h.h2->tp_nsec = ts.tv_nsec;
2421 h.h2->tp_vlan_tci = skb_vlan_tag_get(skb);
2422 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto);
2425 h.h2->tp_vlan_tci = vlan_get_tci(skb, skb->dev);
2426 h.h2->tp_vlan_tpid = ntohs(skb->protocol);
2429 h.h2->tp_vlan_tci = 0;
2430 h.h2->tp_vlan_tpid = 0;
2432 memset(h.h2->tp_padding, 0, sizeof(h.h2->tp_padding));
2433 hdrlen = sizeof(*h.h2);
2665 tp_len = ph.h2->tp_len;
2687 off = ph.h2->tp_net;
2699 off = ph.h2->tp_mac;