/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup_kern.c | 21 static struct bpf_sock_tuple *get_tuple(void *data, __u64 nh_off, in get_tuple() 25 struct bpf_sock_tuple *result; in get_tuple() 37 result = (struct bpf_sock_tuple *)&iph->saddr; in get_tuple() 46 result = (struct bpf_sock_tuple *)&ip6h->saddr; in get_tuple() 61 struct bpf_sock_tuple *tuple; in sk_lookup_success() 84 struct bpf_sock_tuple tuple = {}; in sk_lookup_success_simple() 96 struct bpf_sock_tuple tuple = {}; in err_use_after_free() 111 struct bpf_sock_tuple tuple = {}; in err_modify_sk_pointer() 126 struct bpf_sock_tuple tuple = {}; in err_modify_sk_or_null_pointer() 140 struct bpf_sock_tuple tuple = {}; in err_no_release() [all …]
|
D | test_bpf_nf_fail.c | 16 struct nf_conn *bpf_skb_ct_alloc(struct __sk_buff *, struct bpf_sock_tuple *, u32, 18 struct nf_conn *bpf_skb_ct_lookup(struct __sk_buff *, struct bpf_sock_tuple *, u32, 31 struct bpf_sock_tuple tup = {}; in alloc_release() 45 struct bpf_sock_tuple tup = {}; in insert_insert() 62 struct bpf_sock_tuple tup = {}; in lookup_insert() 76 struct bpf_sock_tuple tup = {}; in write_not_allowlisted_field() 90 struct bpf_sock_tuple tup = {}; in set_timeout_after_insert() 107 struct bpf_sock_tuple tup = {}; in set_status_after_insert() 124 struct bpf_sock_tuple tup = {}; in change_timeout_after_alloc() 138 struct bpf_sock_tuple tup = {}; in change_status_after_alloc()
|
D | test_sk_assign.c | 42 static inline struct bpf_sock_tuple * 47 struct bpf_sock_tuple *result; in get_tuple() 68 result = (struct bpf_sock_tuple *)&iph->saddr; in get_tuple() 77 result = (struct bpf_sock_tuple *)&ip6h->saddr; in get_tuple() 79 return (struct bpf_sock_tuple *)data; in get_tuple() 90 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() 121 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() 162 struct bpf_sock_tuple *tuple; in bpf_sk_assign_test()
|
D | test_bpf_nf.c | 46 struct nf_conn *bpf_xdp_ct_alloc(struct xdp_md *, struct bpf_sock_tuple *, u32, 48 struct nf_conn *bpf_xdp_ct_lookup(struct xdp_md *, struct bpf_sock_tuple *, u32, 50 struct nf_conn *bpf_skb_ct_alloc(struct __sk_buff *, struct bpf_sock_tuple *, u32, 52 struct nf_conn *bpf_skb_ct_lookup(struct __sk_buff *, struct bpf_sock_tuple *, u32, 64 nf_ct_test(struct nf_conn *(*lookup_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test() argument 66 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test() 71 struct bpf_sock_tuple bpf_tuple; in nf_ct_test()
|
D | test_cls_redirect.c | 91 offsetofend(struct bpf_sock_tuple, ipv4.dport) - 92 offsetof(struct bpf_sock_tuple, ipv4.sport) - 1, 96 offsetofend(struct bpf_sock_tuple, ipv6.dport) - 97 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1, 618 static INLINING uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() 648 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_tcp() 681 struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp() 699 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_icmp() 749 struct bpf_sock_tuple tuple; in process_icmpv4() 801 struct bpf_sock_tuple tuple; in process_icmpv6() [all …]
|
D | cgroup_skb_sk_lookup_kern.c | 29 static inline void set_tuple(struct bpf_sock_tuple *tuple, in set_tuple() 44 struct bpf_sock_tuple tuple; in is_allowed_peer_cg()
|
D | test_btf_skc_cls_ingress.c | 71 struct bpf_sock_tuple *tuple; in handle_ip6_tcp() 88 tuple = (struct bpf_sock_tuple *)&ip6h->saddr; in handle_ip6_tcp()
|
D | connect6_prog.c | 30 struct bpf_sock_tuple tuple = {}; in connect_v6_prog()
|
D | test_tcp_check_syncookie_kern.c | 48 struct bpf_sock_tuple tup; in check_syncookie()
|
D | connect4_prog.c | 149 struct bpf_sock_tuple tuple = {}; in connect_v4_prog()
|
D | xdp_synproxy_kern.c | 95 struct bpf_sock_tuple *bpf_tuple, 101 struct bpf_sock_tuple *bpf_tuple, 414 struct bpf_sock_tuple tup = {}; in tcp_lookup()
|
/external/libbpf/src/ |
D | bpf_helper_defs.h | 13 struct bpf_sock_tuple; 2222 static struct bpf_sock *(* const bpf_sk_lookup_tcp)(void *ctx, struct bpf_sock_tuple *tuple, __u32 … 2263 static struct bpf_sock *(* const bpf_sk_lookup_udp)(void *ctx, struct bpf_sock_tuple *tuple, __u32 … 2499 static struct bpf_sock *(* const bpf_skc_lookup_tcp)(void *ctx, struct bpf_sock_tuple *tuple, __u32…
|
/external/v4l-utils/utils/keytable/bpf_protocols/ |
D | bpf_helpers.h | 158 struct bpf_sock_tuple *tuple, 163 struct bpf_sock_tuple *tuple,
|
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/ |
D | ref_tracking.c | 781 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct bpf_sock_tuple)),
|
/external/bpftool/include/uapi/linux/ |
D | bpf.h | 6384 struct bpf_sock_tuple { struct
|
/external/libbpf/include/uapi/linux/ |
D | bpf.h | 6384 struct bpf_sock_tuple { struct
|
/external/v4l-utils/include/linux/ |
D | bpf.h | 6390 struct bpf_sock_tuple { struct
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 6398 struct bpf_sock_tuple { struct
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 480 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct bpf_sock_tuple)), \
|
/external/rust/android-crates-io/crates/libbpf-sys/src/ |
D | bindings.rs | 3420 pub struct bpf_sock_tuple { struct 3454 impl Default for bpf_sock_tuple { implementation
|
/external/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 38585 struct bpf_sock_tuple { struct 39994 typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 39996 typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 39998 typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 40000 typedef u64 (*btf_bpf_tc_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 40002 typedef u64 (*btf_bpf_tc_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 40004 typedef u64 (*btf_bpf_tc_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 40008 typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 40010 typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64… 40012 typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); [all …]
|
/external/bcc/libbpf-tools/powerpc/ |
D | vmlinux_600.h | 48055 struct bpf_sock_tuple { struct 48635 typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48637 typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48639 typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48643 typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 48645 typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64… 48647 typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 48649 typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple … 48651 typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *… 48653 typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *…
|
D | vmlinux.h | 48055 struct bpf_sock_tuple { struct 48635 typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48637 typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48639 typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 48643 typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 48645 typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64… 48647 typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 48649 typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple … 48651 typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *… 48653 typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *…
|
/external/bcc/libbpf-tools/loongarch/ |
D | vmlinux_602.h | 85311 struct bpf_sock_tuple { struct 86164 typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86166 typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86168 typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86172 typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 86174 typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64… 86176 typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 86178 typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple … 86180 typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *… 86182 typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *…
|
D | vmlinux.h | 85311 struct bpf_sock_tuple { struct 86164 typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86166 typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86168 typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); 86172 typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 86174 typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64… 86176 typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); 86178 typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple … 86180 typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *… 86182 typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *…
|