Home
last modified time | relevance | path

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

/linux/Documentation/bpf/
H A Dprog_sk_lookup.rst4 BPF sk_lookup program
7 BPF sk_lookup program type (``BPF_PROG_TYPE_SK_LOOKUP``) introduces programmability
11 When invoked BPF sk_lookup program can select a socket that will receive the
19 BPF sk_lookup program type was introduced to address setup scenarios where
36 BPF sk_lookup program can be attached to a network namespace with
46 The attached BPF sk_lookup programs run whenever the transport layer needs to
50 as usual without triggering the BPF sk_lookup hook.
58 A BPF sk_lookup program can also select a socket to receive the packet by
80 In its context, an instance of ``struct bpf_sk_lookup``, BPF sk_lookup program
97 See ``tools/testing/selftests/bpf/prog_tests/sk_lookup.c`` for the reference
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst57 | **struct_ops** | **fentry** | **fexit** | **freplace** | **sk_lookup**
/linux/net/bluetooth/
H A Dmgmt.c10084 static void sk_lookup(struct mgmt_pending_cmd *cmd, void *data) in sk_lookup() function
10099 mgmt_pending_foreach(MGMT_OP_SET_DEV_CLASS, hdev, false, sk_lookup, in mgmt_set_class_of_dev_complete()
10101 mgmt_pending_foreach(MGMT_OP_ADD_UUID, hdev, false, sk_lookup, in mgmt_set_class_of_dev_complete()
10103 mgmt_pending_foreach(MGMT_OP_REMOVE_UUID, hdev, false, sk_lookup, in mgmt_set_class_of_dev_complete()
/linux/net/core/
H A Dfilter.c6866 static struct sock *sk_lookup(struct net *net, struct bpf_sock_tuple *tuple, in sk_lookup() function
6942 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()
6947 sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); in __bpf_skc_lookup()