Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_listen.c64 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, 0); in prog_stream_verdict()
84 verdict = bpf_sk_redirect_hash(skb, &sock_hash, &zero, in prog_skb_verdict()
H A Dtest_sockmap_kern.h133 return bpf_sk_redirect_hash(skb, &sock_map, &ret, flags); in bpf_prog2()
177 return bpf_sk_redirect_hash(skb, &tls_sock_map, &ret, flags); in bpf_prog3()
/openbmc/linux/Documentation/bpf/
H A Dmap_sockmap.rst15 ``bpf_sk_redirect_map()``, ``bpf_sk_redirect_hash()``,
179 bpf_sk_redirect_hash()
183 long bpf_sk_redirect_hash(struct sk_buff *skb, struct bpf_map *map, void *key, u64 flags)
432 return bpf_sk_redirect_hash(skb, &sock_hash_rx, &key, 0);
/openbmc/linux/net/core/
H A Dsock_map.c1242 BPF_CALL_4(bpf_sk_redirect_hash, struct sk_buff *, skb, in BPF_CALL_4() argument
1261 .func = bpf_sk_redirect_hash,