Home
last modified time | relevance | path

Searched refs:snaplen (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dpcap.c25 uint32_t snaplen; /* max length of captured packets, in octets */ member
226 .snaplen = MAX(CTRL_LEN, DATA_LEN) + sizeof(struct usbmon_packet), in usb_pcap_init()
/openbmc/linux/net/packet/
H A Daf_packet.c2176 unsigned int snaplen, res; in packet_rcv() local
2206 snaplen = skb->len; in packet_rcv()
2208 res = run_filter(skb, sk, snaplen); in packet_rcv()
2211 if (snaplen > res) in packet_rcv()
2212 snaplen = res; in packet_rcv()
2247 if (pskb_trim(skb, snaplen)) in packet_rcv()
2293 unsigned int snaplen, res; in tpacket_rcv() local
2329 snaplen = skb->len; in tpacket_rcv()
2331 res = run_filter(skb, sk, snaplen); in tpacket_rcv()
2349 if (snaplen > res) in tpacket_rcv()
[all …]
/openbmc/qemu/net/
H A Ddump.c51 uint32_t snaplen; member
123 hdr.snaplen = len; in net_dump_state_init()
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c373 unsigned int snaplen = wil_rx_snaplen(); in wil_rx_get_cid_by_skb() local
385 if (unlikely(skb->len < ETH_HLEN + snaplen)) { in wil_rx_get_cid_by_skb()
449 unsigned int snaplen = wil_rx_snaplen(); in wil_vring_reap_rx() local
450 unsigned int sz = wil->rx_buf_len + ETH_HLEN + snaplen; in wil_vring_reap_rx()
583 if (snaplen) { in wil_vring_reap_rx()
590 memmove(skb->data + snaplen, skb->data, 2 * ETH_ALEN); in wil_vring_reap_rx()
591 skb_pull(skb, snaplen); in wil_vring_reap_rx()
/openbmc/linux/tools/bpf/
H A Dbpf_dbg.c107 uint32_t snaplen; member