Home
last modified time | relevance | path

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

/Linux-v5.4/net/core/
Dfilter.c3781 static unsigned long bpf_skb_copy(void *dst_buff, const void *skb, in bpf_skb_copy() argument
3784 void *ptr = skb_header_pointer(skb, off, len, dst_buff); in bpf_skb_copy()
3788 if (ptr != dst_buff) in bpf_skb_copy()
3789 memcpy(dst_buff, ptr, len); in bpf_skb_copy()
4129 static unsigned long bpf_xdp_copy(void *dst_buff, const void *src_buff, in bpf_xdp_copy() argument
4132 memcpy(dst_buff, src_buff + off, len); in bpf_xdp_copy()