Searched refs:tp_len (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/include/uapi/linux/ |
| H A D | if_packet.h | 101 __u32 tp_len; member 137 unsigned int tp_len; member 151 __u32 tp_len; member 174 __u32 tp_len; member
|
| /linux-6.15/net/packet/ |
| H A D | af_packet.c | 2646 to_write = tp_len; in tpacket_fill_skb() 2650 NULL, tp_len); in tpacket_fill_skb() 2699 return tp_len; in tpacket_fill_skb() 2706 int tp_len, off; in tpacket_parse_header() local 2716 tp_len = ph.h3->tp_len; in tpacket_parse_header() 2719 tp_len = ph.h2->tp_len; in tpacket_parse_header() 2722 tp_len = ph.h1->tp_len; in tpacket_parse_header() 2767 return tp_len; in tpacket_parse_header() 2862 if (tp_len < 0) in tpacket_snd() 2892 tp_len = tpacket_fill_skb(po, skb, ph, dev, data, tp_len, proto, in tpacket_snd() [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | kprobes.h | 82 int tp_len; member
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A 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()
|
| H A D | txring_overwrite.c | 132 header->tp_len = cfg_frame_size; in send_pkt()
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | applespi.c | 1495 size_t tp_len; in applespi_got_data() local 1498 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data() 1500 if (le16_to_cpu(message->length) + 2 != tp_len) { in applespi_got_data() 1504 tp->number_of_fingers, tp_len); in applespi_got_data()
|
| /linux-6.15/arch/x86/kernel/kprobes/ |
| H A D | core.c | 771 p->ainsn.tp_len = len; in arch_copy_kprobe() 829 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
|
| /linux-6.15/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 1110 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local 1120 tp_len = FIELD_GET(WILC_PKT_HDR_TOTAL_LEN_FIELD, header); in wilc_wlan_handle_rx_buff() 1123 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff() 1150 offset += tp_len; in wilc_wlan_handle_rx_buff()
|
| /linux-6.15/Documentation/networking/ |
| H A D | packet_mmap.rst | 514 packet, the user fills a data buffer of an available frame, sets tp_len to 525 header->tp_len = in_i_size;
|
| /linux-6.15/kernel/bpf/ |
| H A D | syscall.c | 3684 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local 3689 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info() 3694 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); in bpf_raw_tp_link_fill_link_info()
|