Home
last modified time | relevance | path

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

123

/linux/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
126 struct bpf_sock_tuple tuple = {}; in err_modify_sk_or_null_pointer() local
140 struct bpf_sock_tuple tuple = {}; in err_no_release() local
149 struct bpf_sock_tuple tuple = {}; in err_release_twice() local
161 struct bpf_sock_tuple tuple = {}; in err_release_unchecked() local
171 struct bpf_sock_tuple tuple = {}; in lookup_no_release() local
A Dtest_sk_assign.c90 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp()
122 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp()
164 struct bpf_sock_tuple *tuple, ln = {0}; 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.c618 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() local
801 struct bpf_sock_tuple tuple; in process_icmpv6() local
830 struct bpf_sock_tuple tuple; in process_tcp() local
848 struct bpf_sock_tuple tuple; in process_udp() local
A Dconnect6_prog.c30 struct bpf_sock_tuple tuple = {}; in connect_v6_prog() local
/linux/drivers/pcmcia/
A Dcistpl.c447 tuple_t *tuple) in pccard_get_first_tuple()
522 tuple_t *tuple) in pccard_get_next_tuple()
842 static int parse_manfid(tuple_t *tuple, cistpl_manfid_t *m) in parse_manfid()
852 static int parse_funcid(tuple_t *tuple, cistpl_funcid_t *f) in parse_funcid()
864 static int parse_funce(tuple_t *tuple, cistpl_funce_t *f) in parse_funce()
1078 static int parse_cftable_entry(tuple_t *tuple, in parse_cftable_entry()
1226 static int parse_vers_2(tuple_t *tuple, cistpl_vers_2_t *v2) in parse_vers_2()
1247 static int parse_org(tuple_t *tuple, cistpl_org_t *org) in parse_org()
1288 int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse) in pcmcia_parse_tuple()
1378 tuple_t *tuple; in pccard_validate_cis() local
[all …]
A Dpcmcia_cis.c38 tuple_t tuple; in pccard_read_tuple() local
82 static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, in pccard_loop_tuple()
88 tuple_t tuple; in pccard_loop_tuple() local
154 static int pcmcia_do_loop_config(tuple_t *tuple, cisparse_t *parse, void *priv) in pcmcia_do_loop_config()
300 static int pcmcia_do_loop_tuple(tuple_t *tuple, cisparse_t *parse, void *priv) in pcmcia_do_loop_tuple()
321 tuple_t *tuple, in pcmcia_loop_tuple()
350 static int pcmcia_do_get_tuple(struct pcmcia_device *p_dev, tuple_t *tuple, in pcmcia_do_get_tuple()
398 static int pcmcia_do_get_mac(struct pcmcia_device *p_dev, tuple_t *tuple, in pcmcia_do_get_mac()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dcls_redirect.c31 struct tuple { struct
32 int family;
33 struct addr_port src;
34 struct addr_port dst;
94 int *server, int *conn, struct tuple *tuple) in set_up_conn()
276 const struct tuple *tuple) in build_input()
402 struct tuple *tuple = &tuples[test->type][j]; in test_cls_redirect_common() local
/linux/net/netfilter/
A Dnf_nat_proto.c41 const struct nf_conntrack_tuple *tuple, in __udp_manip_pkt()
67 const struct nf_conntrack_tuple *tuple, in udp_manip_pkt()
83 const struct nf_conntrack_tuple *tuple, in udplite_manip_pkt()
101 const struct nf_conntrack_tuple *tuple, in sctp_manip_pkt()
143 const struct nf_conntrack_tuple *tuple, in tcp_manip_pkt()
185 const struct nf_conntrack_tuple *tuple, in dccp_manip_pkt()
225 const struct nf_conntrack_tuple *tuple, in icmp_manip_pkt()
256 const struct nf_conntrack_tuple *tuple, in icmpv6_manip_pkt()
280 const struct nf_conntrack_tuple *tuple, in gre_manip_pkt()
319 const struct nf_conntrack_tuple *tuple, in l4proto_manip_pkt()
A Dnf_nat_core.c155 const struct nf_conntrack_tuple *tuple) in hash_by_src()
185 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple()
212 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range()
245 static int in_range(const struct nf_conntrack_tuple *tuple, in in_range()
264 const struct nf_conntrack_tuple *tuple) in same_src()
278 const struct nf_conntrack_tuple *tuple, in find_appropriate_src()
309 struct nf_conntrack_tuple *tuple, in find_best_ips_proto()
380 static void nf_nat_l4proto_unique_tuple(struct nf_conntrack_tuple *tuple, in nf_nat_l4proto_unique_tuple()
504 get_unique_tuple(struct nf_conntrack_tuple *tuple, in get_unique_tuple()
A Dnf_conntrack_netlink.c62 const struct nf_conntrack_tuple *tuple, in ctnetlink_dump_tuples_proto()
86 const struct nf_conntrack_tuple *tuple) in ipv4_tuple_to_nlattr()
95 const struct nf_conntrack_tuple *tuple) in ipv6_tuple_to_nlattr()
1121 struct nf_conntrack_tuple *tuple; in ctnetlink_filter_match() local
1579 struct nf_conntrack_tuple tuple; in ctnetlink_del_conntrack() local
1637 struct nf_conntrack_tuple tuple; in ctnetlink_get_conntrack() local
2882 struct nf_conntrack_tuple tuple, mask; in ctnetlink_glue_attach_expect() local
3273 struct nf_conntrack_tuple tuple; in ctnetlink_dump_exp_ct() local
3315 struct nf_conntrack_tuple tuple; in ctnetlink_get_expect() local
3405 struct nf_conntrack_tuple tuple; in ctnetlink_del_expect() local
[all …]
A Dnf_conncount.c43 struct nf_conntrack_tuple tuple; member
127 const struct nf_conntrack_tuple *tuple, in __nf_conncount_add()
198 const struct nf_conntrack_tuple *tuple, in nf_conncount_add()
305 const struct nf_conntrack_tuple *tuple, in insert_tree()
388 const struct nf_conntrack_tuple *tuple, in count_tree()
509 const struct nf_conntrack_tuple *tuple, in nf_conncount_count()
A Dnf_conntrack_proto_icmpv6.c34 struct nf_conntrack_tuple *tuple) in icmpv6_pkt_to_tuple()
68 bool nf_conntrack_invert_icmpv6_tuple(struct nf_conntrack_tuple *tuple, in nf_conntrack_invert_icmpv6_tuple()
197 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
A Dnfnetlink_cthelper.c72 nfnl_cthelper_parse_tuple(struct nf_conntrack_tuple *tuple, in nfnl_cthelper_parse_tuple()
217 struct nf_conntrack_tuple *tuple) in nfnl_cthelper_create()
420 struct nf_conntrack_tuple tuple; in nfnl_cthelper_new() local
619 struct nf_conntrack_tuple tuple; in nfnl_cthelper_get() local
682 struct nf_conntrack_tuple tuple; in nfnl_cthelper_del() local
A Dnf_conntrack_core.c228 const struct nf_conntrack_tuple *tuple, in __hash_conntrack()
236 const struct nf_conntrack_tuple *tuple, in hash_conntrack()
244 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple_ports()
267 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple()
715 const struct nf_conntrack_tuple *tuple, in nf_ct_key_equal()
800 const struct nf_conntrack_tuple *tuple, u32 hash) in __nf_conntrack_find_get()
831 const struct nf_conntrack_tuple *tuple) in nf_conntrack_find_get()
1615 const struct nf_conntrack_tuple *tuple, in init_conntrack()
1715 struct nf_conntrack_tuple tuple; in resolve_normal_ct() local
2013 const struct nf_conntrack_tuple *tuple) in nf_ct_port_tuple_to_nlattr()
[all …]
A Dnf_conntrack_proto_icmp.c28 struct net *net, struct nf_conntrack_tuple *tuple) in icmp_pkt_to_tuple()
56 bool nf_conntrack_invert_icmp_tuple(struct nf_conntrack_tuple *tuple, in nf_conntrack_invert_icmp_tuple()
275 struct nf_conntrack_tuple *tuple, in icmp_nlattr_to_tuple()
A Dnf_flow_table_ip.c143 struct flow_offload_tuple *tuple) in nf_flow_tuple_encap()
169 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ip()
333 struct flow_offload_tuple tuple = {}; in nf_flow_offload_ip_hook() local
518 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ipv6()
569 struct flow_offload_tuple tuple = {}; in nf_flow_offload_ipv6_hook() local
A Dnf_conntrack_expect.c82 …tic unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_dst_hash()
109 nf_ct_exp_equal(const struct nf_conntrack_tuple *tuple, in nf_ct_exp_equal()
133 const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find()
155 const struct nf_conntrack_tuple *tuple) in nf_ct_expect_find_get()
174 const struct nf_conntrack_tuple *tuple) in nf_ct_find_expectation()
A Dnf_flow_table_core.c242 const struct flow_offload_tuple *tuple = data; in flow_offload_hash() local
257 const struct flow_offload_tuple *tuple = arg->key; in flow_offload_hash_cmp() local
377 struct flow_offload_tuple *tuple) in flow_offload_lookup()
434 static bool flow_offload_stale_dst(struct flow_offload_tuple *tuple) in flow_offload_stale_dst()
A Dxt_conntrack.c79 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check() local
123 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check_v3() local
/linux/net/sched/
A Dact_ct.c88 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4()
118 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6()
133 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp()
151 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp()
201 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcf_ct_flow_table_add_action_nat() local
420 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv4()
466 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv6()
512 struct flow_offload_tuple tuple = {}; in tcf_ct_flow_table_lookup() local
/linux/drivers/mtd/maps/
A Dpcmciamtd.c334 tuple_t *tuple, in pcmciamtd_cistpl_format()
349 tuple_t *tuple, in pcmciamtd_cistpl_jedec()
365 tuple_t *tuple, in pcmciamtd_cistpl_device()
389 tuple_t *tuple, in pcmciamtd_cistpl_geo()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_arfs.c90 struct arfs_tuple tuple; member
478 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local
624 struct arfs_tuple *tuple; in arfs_alloc_rule() local
658 static bool arfs_cmp(const struct arfs_tuple *tuple, const struct flow_keys *fk) in arfs_cmp()
/linux/include/linux/netfilter/
A Dnf_conntrack_proto_gre.h20 struct nf_conntrack_tuple tuple; member
/linux/drivers/mmc/core/
A Dsdio_cis.c385 struct sdio_func_tuple *tuple, *victim; in sdio_free_common_cis() local
426 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local

Completed in 89 milliseconds

123