Searched refs:sockmap (Results 1 – 9 of 9) sorted by relevance
| /linux/Documentation/bpf/ |
| H A D | map_sockmap.rst | 268 Look up a socket entry in the sockmap or sockhash map. 278 Add or update a socket entry in a sockmap or sockhash. 294 Delete a socket entry from a sockmap or a sockhash. 307 function. The ``key`` parameter is the index value of the sockmap array. And the 310 Under the hood, the sockmap update function uses the socket FD value to 346 Several examples of the use of sockmap APIs can be found in: 354 The following code snippet shows how to declare a sockmap. 376 sockmap to redirect traffic to another socket based on the local port. 437 Several examples of the use of sockmap APIs can be found in: 443 The following code sample shows how to create a sockmap, attach a parser and [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_ptr_kern.c | 442 struct bpf_stab *sockmap = (struct bpf_stab *)&m_sockmap; in check_sockmap() local 445 VERIFY(check_default(&sockmap->map, map)); in check_sockmap()
|
| /linux/net/core/ |
| H A D | sock_map.c | 717 DEFINE_BPF_ITER_FUNC(sockmap, struct bpf_iter_meta *meta, in DEFINE_BPF_ITER_FUNC() argument 1818 info->sockmap.map_id = map_id; in sock_map_link_fill_info() 1819 info->sockmap.attach_type = link->attach_type; in sock_map_link_fill_info() 1939 .target = "sockmap",
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-map.rst | 55 | | **devmap** | **devmap_hash** | **sockmap** | **cpumap** | **xskmap** | **sockhash**
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_basic.c | 310 src = skel->maps.sockmap; in test_sockmap_copy() 1108 /* uninstall sockmap of p1 */ in test_sockmap_zc() 1190 /* uninstall sockmap of p1 and p0 */ in test_sockmap_copied_seq() 1332 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic() 1336 if (test__start_subtest("sockmap vsock delete on close")) in test_sockmap_basic() 1338 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic() 1342 if (test__start_subtest("sockmap update")) in test_sockmap_basic() 1346 if (test__start_subtest("sockmap update in unsafe context")) in test_sockmap_basic() 1348 if (test__start_subtest("sockmap copy")) in test_sockmap_basic() 1352 if (test__start_subtest("sockmap skb_verdic in test_sockmap_basic() [all...] |
| H A D | bpf_iter.c | 1628 do_read_map_iter_fd(&skel->skeleton, skel->progs.copy, skel->maps.sockmap); in test_bpf_sockmap_map_iter_fd()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 320 * loaded eBPF program of a cgroup, flow dissector, LIRC, sockmap 6856 } sockmap; 6821 } sockmap; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 320 * loaded eBPF program of a cgroup, flow dissector, LIRC, sockmap 6856 } sockmap; 6821 } sockmap; global() member
|
| /linux/ |
| H A D | MAINTAINERS | 4861 BPF [L7 FRAMEWORK] (sockmap)
|