Home
last modified time | relevance | path

Searched defs:tuple (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_sk_lookup_kern.c61 struct bpf_sock_tuple *tuple; in sk_lookup_success() local
84 struct bpf_sock_tuple tuple = {}; in sk_lookup_success_simple() local
96 struct bpf_sock_tuple tuple = {}; in err_use_after_free() local
111 struct bpf_sock_tuple tuple = {}; in err_modify_sk_pointer() local
125 struct bpf_sock_tuple tuple = {}; in err_modify_sk_or_null_pointer() local
138 struct bpf_sock_tuple tuple = {}; in err_no_release() local
147 struct bpf_sock_tuple tuple = {}; in err_release_twice() local
159 struct bpf_sock_tuple tuple = {}; in err_release_unchecked() local
169 struct bpf_sock_tuple tuple = {}; in lookup_no_release() local
A Dtest_sk_assign.c102 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp()
133 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp()
174 struct bpf_sock_tuple *tuple; in bpf_sk_assign_test() local
A Dcgroup_skb_sk_lookup_kern.c29 static inline void set_tuple(struct bpf_sock_tuple *tuple, in set_tuple()
44 struct bpf_sock_tuple tuple; in is_allowed_peer_cg() local
A Dtest_cls_redirect_dynptr.c511 static uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple()
540 static verdict_t classify_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, in classify_tcp()
572 static verdict_t classify_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp()
589 static verdict_t classify_icmp(struct __sk_buff *skb, uint8_t proto, struct bpf_sock_tuple *tuple, in classify_icmp()
641 struct bpf_sock_tuple tuple; in process_icmpv4() local
657 struct bpf_sock_tuple tuple; in process_icmpv6() local
709 struct bpf_sock_tuple tuple; in process_tcp() local
732 struct bpf_sock_tuple tuple; in process_udp() local
A Dtest_cls_redirect.c621 static INLINING uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple()
651 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_tcp()
684 struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp()
702 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_icmp()
752 struct bpf_sock_tuple tuple; in process_icmpv4() local
804 struct bpf_sock_tuple tuple; in process_icmpv6() local
833 struct bpf_sock_tuple tuple; in process_tcp() local
851 struct bpf_sock_tuple tuple; in process_udp() local
A Dconnect6_prog.c30 struct bpf_sock_tuple tuple = {}; in connect_v6_prog() local
A Dtest_btf_skc_cls_ingress.c68 struct bpf_sock_tuple *tuple = NULL; in handle_ip_tcp() local
A Dxdp_flowtable.c71 struct bpf_fib_lookup tuple = { in xdp_flowtable_do_lookup() local
A Dconnect4_prog.c151 struct bpf_sock_tuple tuple = {}; in connect_v4_prog() local
A Dtest_tcp_custom_syncookie.c509 struct bpf_sock_tuple tuple; in tcp_handle_ack() local
A Dtest_bpf_nf.c197 struct nf_conntrack_tuple *tuple; in nf_ct_test() local
/tools/testing/selftests/bpf/prog_tests/
A Dcls_redirect.c33 struct tuple { struct
34 int family;
35 struct addr_port src;
36 struct addr_port dst;
63 int *server, int *conn, struct tuple *tuple) in set_up_conn()
245 const struct tuple *tuple) in build_input()
371 struct tuple *tuple = &tuples[test->type][j]; in test_cls_redirect_common() local

Completed in 27 milliseconds