Lines Matching refs:ph
2568 void *ph; in tpacket_destruct_skb() local
2571 ph = skb_zcopy_get_nouarg(skb); in tpacket_destruct_skb()
2574 ts = __packet_set_timestamp(po, ph, skb); in tpacket_destruct_skb()
2575 __packet_set_status(po, ph, TP_STATUS_AVAILABLE | ts); in tpacket_destruct_skb()
2627 union tpacket_uhdr ph; in tpacket_fill_skb() local
2633 ph.raw = frame; in tpacket_fill_skb()
2641 skb_zcopy_set_nouarg(skb, ph.raw); in tpacket_fill_skb()
2705 union tpacket_uhdr ph; in tpacket_parse_header() local
2708 ph.raw = frame; in tpacket_parse_header()
2712 if (ph.h3->tp_next_offset != 0) { in tpacket_parse_header()
2716 tp_len = ph.h3->tp_len; in tpacket_parse_header()
2719 tp_len = ph.h2->tp_len; in tpacket_parse_header()
2722 tp_len = ph.h1->tp_len; in tpacket_parse_header()
2738 off = ph.h3->tp_net; in tpacket_parse_header()
2741 off = ph.h2->tp_net; in tpacket_parse_header()
2744 off = ph.h1->tp_net; in tpacket_parse_header()
2750 off = ph.h3->tp_mac; in tpacket_parse_header()
2753 off = ph.h2->tp_mac; in tpacket_parse_header()
2756 off = ph.h1->tp_mac; in tpacket_parse_header()
2778 void *ph; in tpacket_snd() local
2846 ph = packet_current_frame(po, &po->tx_ring, in tpacket_snd()
2848 if (unlikely(ph == NULL)) { in tpacket_snd()
2867 tp_len = tpacket_parse_header(po, ph, size_max, &data); in tpacket_snd()
2898 tp_len = tpacket_fill_skb(po, skb, ph, dev, data, tp_len, proto, in tpacket_snd()
2909 __packet_set_status(po, ph, in tpacket_snd()
2930 __packet_set_status(po, ph, TP_STATUS_SENDING); in tpacket_snd()
2938 if (err && __packet_get_status(po, ph) == in tpacket_snd()
2958 __packet_set_status(po, ph, status); in tpacket_snd()