Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/uapi/linux/
A Dif_packet.h100 __u32 tp_len; member
136 unsigned int tp_len; member
150 __u32 tp_len; member
173 __u32 tp_len; member
/linux-6.3-rc2/net/packet/
A Daf_packet.c2589 to_write = tp_len; in tpacket_fill_skb()
2593 NULL, tp_len); in tpacket_fill_skb()
2642 return tp_len; in tpacket_fill_skb()
2649 int tp_len, off; in tpacket_parse_header() local
2659 tp_len = ph.h3->tp_len; in tpacket_parse_header()
2662 tp_len = ph.h2->tp_len; in tpacket_parse_header()
2665 tp_len = ph.h1->tp_len; in tpacket_parse_header()
2710 return tp_len; in tpacket_parse_header()
2804 if (tp_len < 0) in tpacket_snd()
2834 tp_len = tpacket_fill_skb(po, skb, ph, dev, data, tp_len, proto, in tpacket_snd()
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dkprobes.h82 int tp_len; member
/linux-6.3-rc2/tools/testing/selftests/net/
A 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()
A Dtxring_overwrite.c132 header->tp_len = cfg_frame_size; in send_pkt()
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/
A Dwlan.c953 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
963 tp_len = FIELD_GET(WILC_PKT_HDR_TOTAL_LEN_FIELD, header); in wilc_wlan_handle_rx_buff()
966 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff()
993 offset += tp_len; in wilc_wlan_handle_rx_buff()
/linux-6.3-rc2/arch/x86/kernel/kprobes/
A Dcore.c698 p->ainsn.tp_len = len; in arch_copy_kprobe()
756 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
/linux-6.3-rc2/drivers/input/keyboard/
A Dapplespi.c1518 size_t tp_len; in applespi_got_data() local
1521 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
1523 if (le16_to_cpu(message->length) + 2 != tp_len) { in applespi_got_data()
1527 tp->number_of_fingers, tp_len); in applespi_got_data()
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c3198 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local
3203 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
3208 if (ulen >= tp_len + 1) { in bpf_raw_tp_link_fill_link_info()
3209 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info()
/linux-6.3-rc2/Documentation/networking/
A Dpacket_mmap.rst513 packet, the user fills a data buffer of an available frame, sets tp_len to
524 header->tp_len = in_i_size;

Completed in 50 milliseconds