Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dif_packet.h101 __u32 tp_len; member
137 unsigned int tp_len; member
151 __u32 tp_len; member
174 __u32 tp_len; member
/linux/net/packet/
H A Daf_packet.c2473 h.h1->tp_len = skb->len; in tpacket_rcv()
2482 h.h2->tp_len = skb->len; in tpacket_rcv()
2508 h.h3->tp_len = skb->len; in tpacket_rcv()
2637 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb() argument
2660 to_write = tp_len; in tpacket_fill_skb()
2664 NULL, tp_len); in tpacket_fill_skb()
2668 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb()
2713 return tp_len; in tpacket_fill_skb()
2720 int tp_len, off; in tpacket_parse_header() local
2730 tp_len = ph.h3->tp_len; in tpacket_parse_header()
[all …]
/linux/arch/x86/include/asm/
H A Dkprobes.h82 int tp_len; member
/linux/tools/testing/selftests/net/
H 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()
H A Dtxring_overwrite.c132 header->tp_len = cfg_frame_size; in send_pkt()
/linux/drivers/input/keyboard/
H A Dapplespi.c1495 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/arch/x86/kernel/kprobes/
H A Dcore.c780 p->ainsn.tp_len = len; in arch_copy_kprobe()
838 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
/linux/Documentation/networking/
H A 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;
/linux/kernel/bpf/
H A Dsyscall.c3660 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local
3665 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
3670 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); in bpf_raw_tp_link_fill_link_info()