Home
last modified time | relevance | path

Searched refs:tp_net (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/uapi/linux/
Dif_packet.h101 __u16 tp_net; member
136 unsigned short tp_net; member
150 __u16 tp_net; member
173 __u16 tp_net; member
/Linux-v5.4/net/packet/
Daf_packet.c2306 h.h1->tp_net = netoff; in tpacket_rcv()
2315 h.h2->tp_net = netoff; in tpacket_rcv()
2337 h.h3->tp_net = netoff; in tpacket_rcv()
2568 off = ph.h3->tp_net; in tpacket_parse_header()
2571 off = ph.h2->tp_net; in tpacket_parse_header()
2574 off = ph.h1->tp_net; in tpacket_parse_header()
3413 aux.tp_net = skb_network_offset(skb); in packet_recvmsg()
/Linux-v5.4/Documentation/networking/
Dpacket_mmap.txt176 can set tp_net (with SOCK_DGRAM) or tp_mac (with SOCK_RAW). In order
376 - Gap, chosen so that packet data (Start+tp_net) aligns to
379 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.