Home
last modified time | relevance | path

Searched refs:tp_len (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Dif_packet.h97 __u32 tp_len; member
132 unsigned int tp_len; member
146 __u32 tp_len; member
169 __u32 tp_len; member
/Linux-v4.19/net/packet/
Daf_packet.c2290 h.h1->tp_len = skb->len; in tpacket_rcv()
2299 h.h2->tp_len = skb->len; in tpacket_rcv()
2321 h.h3->tp_len = skb->len; in tpacket_rcv()
2446 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb() argument
2469 to_write = tp_len; in tpacket_fill_skb()
2473 NULL, tp_len); in tpacket_fill_skb()
2477 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb()
2524 return tp_len; in tpacket_fill_skb()
2531 int tp_len, off; in tpacket_parse_header() local
2541 tp_len = ph.h3->tp_len; in tpacket_parse_header()
[all …]
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c442 ppd.v1->tp_h.tp_len = packet_len; in walk_tx()
452 ppd.v2->tp_h.tp_len = packet_len; in walk_tx()
463 tx->tp_len = packet_len; in walk_tx()
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wlan.c716 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
727 tp_len = (header >> 11) & 0x7ff; in wilc_wlan_handle_rx_buff()
730 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff()
762 offset += tp_len; in wilc_wlan_handle_rx_buff()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt499 packet, the user fills a data buffer of an available frame, sets tp_len to
507 header->tp_len = in_i_size;