Searched refs:tp_len (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/include/uapi/linux/ |
D | if_packet.h | 98 __u32 tp_len; member 133 unsigned int tp_len; member 147 __u32 tp_len; member 170 __u32 tp_len; member
|
/Linux-v5.4/net/packet/ |
D | af_packet.c | 2303 h.h1->tp_len = skb->len; in tpacket_rcv() 2312 h.h2->tp_len = skb->len; in tpacket_rcv() 2334 h.h3->tp_len = skb->len; in tpacket_rcv() 2453 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb() argument 2476 to_write = tp_len; in tpacket_fill_skb() 2480 NULL, tp_len); in tpacket_fill_skb() 2484 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb() 2529 return tp_len; in tpacket_fill_skb() 2536 int tp_len, off; in tpacket_parse_header() local 2546 tp_len = ph.h3->tp_len; in tpacket_parse_header() [all …]
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | txring_overwrite.c | 132 header->tp_len = cfg_frame_size; in send_pkt()
|
D | psock_tpacket.c | 428 ppd.v1->tp_h.tp_len = packet_len; in walk_tx() 438 ppd.v2->tp_h.tp_len = packet_len; in walk_tx() 449 tx->tp_len = packet_len; in walk_tx()
|
/Linux-v5.4/drivers/staging/wilc1000/ |
D | wilc_wlan.c | 686 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local 696 tp_len = (header >> 11) & 0x7ff; in wilc_wlan_handle_rx_buff() 699 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff() 727 offset += tp_len; in wilc_wlan_handle_rx_buff()
|
/Linux-v5.4/drivers/input/keyboard/ |
D | applespi.c | 1494 size_t tp_len; in applespi_got_data() local 1497 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data() 1499 if (le16_to_cpu(message->length) + 2 != tp_len) { in applespi_got_data() 1503 tp->number_of_fingers, tp_len); in applespi_got_data()
|
/Linux-v5.4/Documentation/networking/ |
D | packet_mmap.txt | 499 packet, the user fills a data buffer of an available frame, sets tp_len to 507 header->tp_len = in_i_size;
|