Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/bpf/
H A Dmap_sockmap.rst268 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.
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
455 fprintf(stderr, "Failed to create sockmap: %s\n", strerror(errno));
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_sockmap.c16 } sockmap SEC(".maps");
H A Dmap_ptr_kern.c442 struct bpf_stab *sockmap = (struct bpf_stab *)&m_sockmap; in check_sockmap() local
445 VERIFY(check_default(&sockmap->map, map)); in check_sockmap()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c207 src = skel->maps.sockmap; in test_sockmap_copy()
H A Dbpf_iter.c1549 do_read_map_iter_fd(&skel->skeleton, skel->progs.copy, skel->maps.sockmap); in test_bpf_sockmap_map_iter_fd()
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-map.rst55 | | **devmap** | **devmap_hash** | **sockmap** | **cpumap** | **xskmap** | **sockhash**
/openbmc/linux/net/core/
H A Dsock_map.c707 DEFINE_BPF_ITER_FUNC(sockmap, struct bpf_iter_meta *meta, in DEFINE_BPF_ITER_FUNC() argument
/openbmc/linux/
H A DMAINTAINERS3795 BPF [L7 FRAMEWORK] (sockmap)