Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dif_packet.h98 __u32 tp_len; member
133 unsigned int tp_len; member
147 __u32 tp_len; member
170 __u32 tp_len; member
/Linux-v5.10/net/packet/
Daf_packet.c2333 h.h1->tp_len = skb->len; in tpacket_rcv()
2342 h.h2->tp_len = skb->len; in tpacket_rcv()
2364 h.h3->tp_len = skb->len; in tpacket_rcv()
2486 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb() argument
2509 to_write = tp_len; in tpacket_fill_skb()
2513 NULL, tp_len); in tpacket_fill_skb()
2517 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb()
2562 return tp_len; in tpacket_fill_skb()
2569 int tp_len, off; in tpacket_parse_header() local
2579 tp_len = ph.h3->tp_len; in tpacket_parse_header()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dkprobes.h70 int tp_len; member
/Linux-v5.10/tools/testing/selftests/net/
Dtxring_overwrite.c132 header->tp_len = cfg_frame_size; in send_pkt()
Dpsock_tpacket.c428 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.10/drivers/net/wireless/microchip/wilc1000/
Dwlan.c685 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
695 tp_len = FIELD_GET(WILC_PKT_HDR_TOTAL_LEN_FIELD, header); in wilc_wlan_handle_rx_buff()
698 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff()
724 offset += tp_len; in wilc_wlan_handle_rx_buff()
/Linux-v5.10/arch/x86/kernel/kprobes/
Dcore.c476 p->ainsn.tp_len = len; in arch_copy_kprobe()
531 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
/Linux-v5.10/drivers/input/keyboard/
Dapplespi.c1494 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.10/kernel/bpf/
Dsyscall.c2765 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local
2770 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
2775 if (ulen >= tp_len + 1) { in bpf_raw_tp_link_fill_link_info()
2776 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info()
/Linux-v5.10/Documentation/networking/
Dpacket_mmap.rst514 packet, the user fills a data buffer of an available frame, sets tp_len to
525 header->tp_len = in_i_size;