Searched refs:bpf_sock_tuple (Results 1 – 11 of 11) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup_kern.c | 22 static struct bpf_sock_tuple *get_tuple(void *data, __u64 nh_off, in get_tuple() 26 struct bpf_sock_tuple *result; in get_tuple() 38 result = (struct bpf_sock_tuple *)&iph->saddr; in get_tuple() 47 result = (struct bpf_sock_tuple *)&ip6h->saddr; in get_tuple() 62 struct bpf_sock_tuple *tuple; in bpf_sk_lookup_test0() 85 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_test1() 97 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_uaf() 112 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_modptr() 127 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_modptr_or_null() 141 struct bpf_sock_tuple tuple = {}; in bpf_sk_lookup_test2() [all …]
|
D | test_sk_assign.c | 54 static inline struct bpf_sock_tuple * 59 struct bpf_sock_tuple *result; in get_tuple() 80 result = (struct bpf_sock_tuple *)&iph->saddr; in get_tuple() 89 result = (struct bpf_sock_tuple *)&ip6h->saddr; in get_tuple() 91 return (struct bpf_sock_tuple *)data; in get_tuple() 102 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() 104 struct bpf_sock_tuple ln = {0}; in handle_udp() 134 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() 136 struct bpf_sock_tuple ln = {0}; in handle_tcp() 176 struct bpf_sock_tuple *tuple, ln = {0}; in bpf_sk_assign_test()
|
D | cgroup_skb_sk_lookup_kern.c | 30 static inline void set_tuple(struct bpf_sock_tuple *tuple, in set_tuple() 45 struct bpf_sock_tuple tuple; in is_allowed_peer_cg()
|
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 | 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 | 32 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 | 150 struct bpf_sock_tuple tuple = {}; in connect_v4_prog()
|
/tools/testing/selftests/bpf/verifier/ |
D | ref_tracking.c | 642 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct bpf_sock_tuple)),
|
/tools/include/uapi/linux/ |
D | bpf.h | 5422 struct bpf_sock_tuple { struct
|
/tools/testing/selftests/bpf/ |
D | test_verifier.c | 396 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct bpf_sock_tuple)), \
|