Home
last modified time | relevance | path

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

/linux-6.6.21/net/packet/
Daf_packet.c2129 unsigned int snaplen, res; in packet_rcv() local
2159 snaplen = skb->len; in packet_rcv()
2161 res = run_filter(skb, sk, snaplen); in packet_rcv()
2164 if (snaplen > res) in packet_rcv()
2165 snaplen = res; in packet_rcv()
2200 if (pskb_trim(skb, snaplen)) in packet_rcv()
2246 unsigned int snaplen, res; in tpacket_rcv() local
2282 snaplen = skb->len; in tpacket_rcv()
2284 res = run_filter(skb, sk, snaplen); in tpacket_rcv()
2302 if (snaplen > res) in tpacket_rcv()
[all …]
/linux-6.6.21/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-6.6.21/tools/bpf/
Dbpf_dbg.c107 uint32_t snaplen; member