Searched refs:tp_len (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/include/uapi/linux/ |
D | if_packet.h | 95 __u32 tp_len; member 130 unsigned int tp_len; member 144 __u32 tp_len; member 167 __u32 tp_len; member
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 2220 h.h1->tp_len = skb->len; in tpacket_rcv() 2229 h.h2->tp_len = skb->len; in tpacket_rcv() 2251 h.h3->tp_len = skb->len; in tpacket_rcv() 2347 int to_write, offset, len, tp_len, nr_frags, len_max; in tpacket_fill_skb() local 2364 tp_len = ph.h2->tp_len; in tpacket_fill_skb() 2367 tp_len = ph.h1->tp_len; in tpacket_fill_skb() 2370 if (unlikely(tp_len > size_max)) { in tpacket_fill_skb() 2371 pr_err("packet size is too long (%d > %d)\n", tp_len, size_max); in tpacket_fill_skb() 2381 off_max = po->tx_ring.frame_size - tp_len; in tpacket_fill_skb() 2407 to_write = tp_len; in tpacket_fill_skb() [all …]
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wlan.c | 1154 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rxq() local 1168 tp_len = (header >> 11) & 0x7ff; in wilc_wlan_handle_rxq() 1171 if (pkt_len == 0 || tp_len == 0) { in wilc_wlan_handle_rxq() 1172 …lc_debug(N_RXQ, "[wilc rxq]: data corrupt, packet len or tp_len is 0 [%d][%d]\n", pkt_len, tp_len); in wilc_wlan_handle_rxq() 1222 offset += tp_len; in wilc_wlan_handle_rxq()
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 399 ppd.v1->tp_h.tp_len = packet_len; in walk_v1_v2_tx() 409 ppd.v2->tp_h.tp_len = packet_len; in walk_v1_v2_tx()
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 511 packet, the user fills a data buffer of an available frame, sets tp_len to 519 header->tp_len = in_i_size;
|