Home
last modified time | relevance | path

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

/Linux-v5.15/net/core/
Dfilter.c4143 static unsigned long bpf_skb_copy(void *dst_buff, const void *skb, in bpf_skb_copy() argument
4146 void *ptr = skb_header_pointer(skb, off, len, dst_buff); in bpf_skb_copy()
4150 if (ptr != dst_buff) in bpf_skb_copy()
4151 memcpy(dst_buff, ptr, len); in bpf_skb_copy()
4541 static unsigned long bpf_xdp_copy(void *dst_buff, const void *src_buff, in bpf_xdp_copy() argument
4544 memcpy(dst_buff, src_buff + off, len); in bpf_xdp_copy()