Home
last modified time | relevance | path

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

/Linux-v5.10/net/packet/
Daf_packet.c2058 unsigned int snaplen, res; in packet_rcv() local
2088 snaplen = skb->len; in packet_rcv()
2090 res = run_filter(skb, sk, snaplen); in packet_rcv()
2093 if (snaplen > res) in packet_rcv()
2094 snaplen = res; in packet_rcv()
2129 if (pskb_trim(skb, snaplen)) in packet_rcv()
2174 unsigned int snaplen, res; in tpacket_rcv() local
2210 snaplen = skb->len; in tpacket_rcv()
2212 res = run_filter(skb, sk, snaplen); in tpacket_rcv()
2229 if (snaplen > res) in tpacket_rcv()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/wil6210/
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()
/Linux-v5.10/tools/bpf/
Dbpf_dbg.c107 uint32_t snaplen; member