/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 734 int sock_map = bpf_map__fd(inner_map); in test_skb_redir_to_connected() local 758 int sock_map = bpf_map__fd(inner_map); in test_msg_redir_to_connected() local 836 int sock_map = bpf_map__fd(inner_map); in test_skb_redir_to_listening() local 860 int sock_map = bpf_map__fd(inner_map); in test_msg_redir_to_listening() local 892 err = add_to_sockmap(sock_map, p0, p1); in redir_partial() 925 int sock_map = bpf_map__fd(inner_map); in test_skb_redir_partial() local 944 int sock_map, int verd_map, in test_reuseport_select_listening() argument 1013 int sock_map, int verd_map, in test_reuseport_select_connected() argument 1398 int sock_map = bpf_map__fd(inner_map); in unix_skb_redir_to_connected() local 1549 int sock_map = bpf_map__fd(inner_map); in vsock_unix_skb_redir_connectible() local [all …]
|
H A D | sk_lookup.c | 71 struct bpf_map *sock_map; member 676 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 684 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 693 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 703 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 712 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 720 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 728 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 737 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 747 .sock_map = skel->maps.redir_map, in test_redirect_lookup() [all …]
|
H A D | netns_cookie.c | 36 map = bpf_map__fd(skel->maps.sock_map); in test_netns_cookie()
|
H A D | sockmap_basic.c | 121 map = bpf_map__fd(skel->maps.sock_map); in test_skmsg_helpers() 285 map = bpf_map__fd(skel->maps.sock_map); in test_sockmap_skb_verdict_attach() 327 map_fd = bpf_map__fd(skel->maps.sock_map); in test_sockmap_progs_query()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sockmap_listen.c | 15 } sock_map SEC(".maps"); 62 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, 0); in prog_stream_verdict() 81 verdict = bpf_sk_redirect_map(skb, &sock_map, zero, in prog_skb_verdict() 102 verdict = bpf_msg_redirect_map(msg, &sock_map, zero, 0); in prog_msg_verdict() 121 err = bpf_sk_select_reuseport(reuse, &sock_map, &zero, 0); in prog_reuseport()
|
H A D | freplace_cls_redirect.c | 15 } sock_map SEC(".maps"); 24 sk = bpf_map_lookup_elem(&sock_map, &zero); in freplace_cls_redirect_test() 28 ret = bpf_map_update_elem(&sock_map, &zero, sk, 0); in freplace_cls_redirect_test()
|
H A D | test_sockmap_kern.h | 37 } sock_map SEC(".maps"); 131 return bpf_sk_redirect_map(skb, &sock_map, ret, flags); in bpf_prog2() 133 return bpf_sk_redirect_hash(skb, &sock_map, &ret, flags); in bpf_prog2() 206 bpf_sock_map_update(skops, &sock_map, &ret, in bpf_sockmap() 209 bpf_sock_hash_update(skops, &sock_map, &ret, in bpf_sockmap() 221 bpf_sock_map_update(skops, &sock_map, &ret, in bpf_sockmap() 224 bpf_sock_hash_update(skops, &sock_map, &ret, in bpf_sockmap()
|
H A D | netns_cookie_prog.c | 28 } sock_map SEC(".maps"); 53 bpf_sock_map_update(ctx, &sock_map, &key, BPF_NOEXIST); in get_netns_cookie_sockops()
|
H A D | test_sockmap_skb_verdict_attach.c | 10 } sock_map SEC(".maps");
|
H A D | test_sockmap_progs_query.c | 10 } sock_map SEC(".maps");
|
H A D | test_skmsg_load_helpers.c | 11 } sock_map SEC(".maps");
|
/openbmc/linux/net/core/ |
H A D | Makefile | 40 obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_of_maps.rst | 15 ``array_of_maps->sock_map``.
|
/openbmc/linux/drivers/xen/ |
H A D | pvcalls-back.c | 87 static irqreturn_t pvcalls_back_conn_event(int irq, void *sock_map); 905 static irqreturn_t pvcalls_back_conn_event(int irq, void *sock_map) in pvcalls_back_conn_event() argument 907 struct sock_mapping *map = sock_map; in pvcalls_back_conn_event()
|
H A D | pvcalls-front.c | 258 static irqreturn_t pvcalls_front_conn_handler(int irq, void *sock_map) in pvcalls_front_conn_handler() argument 260 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler()
|
/openbmc/linux/ |
H A D | MAINTAINERS | 3803 F: net/core/sock_map.c
|