Home
last modified time | relevance | path

Searched refs:bpf_sk_lookup (Results 1 – 2 of 2) sorted by relevance

/net/core/
Dfilter.c6320 bpf_sk_lookup(struct sk_buff *skb, struct bpf_sock_tuple *tuple, u32 len, in bpf_sk_lookup() function
6370 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_TCP, in BPF_CALL_5()
6389 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_UDP, in BPF_CALL_5()
10692 if (off < 0 || off >= sizeof(struct bpf_sk_lookup)) in sk_lookup_is_valid_access()
10700 case offsetof(struct bpf_sk_lookup, sk): in sk_lookup_is_valid_access()
10704 case bpf_ctx_range(struct bpf_sk_lookup, family): in sk_lookup_is_valid_access()
10705 case bpf_ctx_range(struct bpf_sk_lookup, protocol): in sk_lookup_is_valid_access()
10706 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access()
10707 case bpf_ctx_range(struct bpf_sk_lookup, local_ip4): in sk_lookup_is_valid_access()
10708 case bpf_ctx_range_till(struct bpf_sk_lookup, remote_ip6[0], remote_ip6[3]): in sk_lookup_is_valid_access()
[all …]
/net/bpf/
Dtest_run.c928 struct bpf_sk_lookup *user_ctx; in bpf_prog_test_run_sk_lookup()