Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/bpf/progs/
H 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
H 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
H A Dtest_cls_redirect_dynptr.c511 static uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() argument
540 classify_tcp(struct __sk_buff * skb,struct bpf_sock_tuple * tuple,uint64_t tuplen,void * iph,struct tcphdr * tcp) classify_tcp() argument
572 classify_udp(struct __sk_buff * skb,struct bpf_sock_tuple * tuple,uint64_t tuplen) classify_udp() argument
589 classify_icmp(struct __sk_buff * skb,uint8_t proto,struct bpf_sock_tuple * tuple,uint64_t tuplen,metrics_t * metrics) classify_icmp() argument
641 struct bpf_sock_tuple tuple; process_icmpv4() local
657 struct bpf_sock_tuple tuple; process_icmpv6() local
709 struct bpf_sock_tuple tuple; process_tcp() local
732 struct bpf_sock_tuple tuple; process_udp() local
[all...]
H A Dtest_cls_redirect.c621 fill_tuple(struct bpf_sock_tuple * tuple,void * iph,uint64_t iphlen,uint16_t sport,uint16_t dport) fill_tuple() argument
651 classify_tcp(struct __sk_buff * skb,struct bpf_sock_tuple * tuple,uint64_t tuplen,void * iph,struct tcphdr * tcp) classify_tcp() argument
684 classify_udp(struct __sk_buff * skb,struct bpf_sock_tuple * tuple,uint64_t tuplen) classify_udp() argument
702 classify_icmp(struct __sk_buff * skb,uint8_t proto,struct bpf_sock_tuple * tuple,uint64_t tuplen,metrics_t * metrics) classify_icmp() argument
752 struct bpf_sock_tuple tuple; process_icmpv4() local
804 struct bpf_sock_tuple tuple; process_icmpv6() local
833 struct bpf_sock_tuple tuple; process_tcp() local
851 struct bpf_sock_tuple tuple; process_udp() local
[all...]
H 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
H A Dconnect6_prog.c30 struct bpf_sock_tuple tuple = {}; in connect_v6_prog() local
/linux/drivers/pcmcia/
H A Dcistpl.c447 tuple_t *tuple) in pccard_get_first_tuple()
474 static int follow_link(struct pcmcia_socket *s, tuple_t *tuple) in follow_link()
522 tuple_t *tuple) in pccard_get_next_tuple()
633 int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple) in pccard_get_tuple_data()
659 static int parse_device(tuple_t *tuple, cistpl_device_t *device) in parse_device()
720 static int parse_checksum(tuple_t *tuple, cistpl_checksum_t *csum) in parse_checksum()
733 static int parse_longlink(tuple_t *tuple, cistpl_longlink_t *link) in parse_longlink()
742 static int parse_longlink_mfc(tuple_t *tuple, cistpl_longlink_mfc_t *link) in parse_longlink_mfc()
793 static int parse_vers_1(tuple_t *tuple, cistpl_vers_1_t *vers_1) in parse_vers_1()
810 static int parse_altstr(tuple_t *tuple, cistpl_altstr_t *altstr) in parse_altstr()
[all …]
H 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/kernel/bpf/
H A Dmprog.c7 static int bpf_mprog_link(struct bpf_tuple *tuple, in bpf_mprog_link()
30 static int bpf_mprog_prog(struct bpf_tuple *tuple, in bpf_mprog_prog()
53 static int bpf_mprog_tuple_relative(struct bpf_tuple *tuple, in bpf_mprog_tuple_relative()
72 static void bpf_mprog_tuple_put(struct bpf_tuple *tuple) in bpf_mprog_tuple_put()
179 struct bpf_tuple *tuple) in bpf_mprog_pos_exact()
194 struct bpf_tuple *tuple) in bpf_mprog_pos_before()
210 struct bpf_tuple *tuple) in bpf_mprog_pos_after()
298 struct bpf_tuple *tuple, int idx) in bpf_mprog_fetch()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c33 struct tuple { global() struct
34 familytuple global() argument
35 srctuple global() argument
36 dsttuple global() argument
63 set_up_conn(const struct sockaddr * addr,socklen_t len,int type,int * server,int * conn,struct tuple * tuple) set_up_conn() argument
245 build_input(const struct test_cfg * test,void * const buf,const struct tuple * tuple) build_input() argument
371 struct tuple *tuple = &tuples[test->type][j]; test_cls_redirect_common() local
/linux/net/netfilter/
H A Dnf_flow_table_ip.c162 struct flow_offload_tuple *tuple) in nf_flow_tuple_encap()
217 struct flow_offload_tuple *tuple) in nf_flow_tuple_ip()
300 static inline bool nf_flow_dst_check(struct flow_offload_tuple *tuple) in nf_flow_dst_check()
486 struct flow_offload_tuple tuple = {}; in nf_flow_offload_lookup() local
586 struct flow_offload_tuple *tuple, in nf_flow_tunnel_ipip_push()
632 struct flow_offload_tuple *tuple, in nf_flow_tunnel_v4_push()
647 struct flow_offload_tuple *tuple, in nf_flow_tunnel_ip6ip6_push()
721 struct flow_offload_tuple *tuple, in nf_flow_tunnel_v6_push()
733 struct flow_offload_tuple *tuple) in nf_flow_encap_push()
942 struct flow_offload_tuple *tuple) in nf_flow_tuple_ipv6()
[all …]
H A Dnf_conntrack_netlink.c68 const struct nf_conntrack_tuple *tuple, in ctnetlink_dump_tuples_proto()
92 const struct nf_conntrack_tuple *tuple) in ipv4_tuple_to_nlattr()
101 const struct nf_conntrack_tuple *tuple) in ipv6_tuple_to_nlattr()
110 const struct nf_conntrack_tuple *tuple) in ctnetlink_dump_tuples_ip()
137 const struct nf_conntrack_tuple *tuple) in ctnetlink_dump_tuples()
1154 struct nf_conntrack_tuple *tuple; in ctnetlink_filter_match() local
1343 struct nf_conntrack_tuple *tuple, in ctnetlink_parse_tuple_ip()
1371 struct nf_conntrack_tuple *tuple, in ctnetlink_parse_tuple_proto()
1462 struct nf_conntrack_tuple *tuple, u32 type, in ctnetlink_parse_tuple_filter()
1523 struct nf_conntrack_tuple *tuple, u32 type, in ctnetlink_parse_tuple()
[all …]
H A Dnfnetlink_cthelper.c72 nfnl_cthelper_parse_tuple(struct nf_conntrack_tuple *tuple, in nfnl_cthelper_parse_tuple()
220 struct nf_conntrack_tuple *tuple) in nfnl_cthelper_create()
422 struct nf_conntrack_tuple tuple; in nfnl_cthelper_new() local
621 struct nf_conntrack_tuple tuple; in nfnl_cthelper_get() local
684 struct nf_conntrack_tuple tuple; in nfnl_cthelper_del() local
H A Dnf_conntrack_expect.c83 …tic unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_dst_hash()
110 nf_ct_exp_equal(const struct nf_conntrack_tuple *tuple, in nf_ct_exp_equal()
136 const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find()
158 const struct nf_conntrack_tuple *tuple) in nf_ct_expect_find_get()
177 const struct nf_conntrack_tuple *tuple, bool unlink) in nf_ct_find_expectation()
H A Dnf_conncount.c44 struct nf_conntrack_tuple tuple; member
130 struct nf_conntrack_tuple *tuple, in get_ct_or_tuple_from_skb()
171 struct nf_conntrack_tuple tuple; in __nf_conncount_add() local
408 struct nf_conntrack_tuple tuple; in insert_tree() local
H 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
H A Dnf_flow_table_offload.c95 const struct flow_offload_tuple *tuple, in nf_flow_rule_match()
688 const struct flow_offload_tuple *tuple; in nf_flow_rule_route_common() local
803 const struct flow_offload_tuple *tuple, *other_tuple; in nf_flow_offload_rule_alloc() local
891 const struct flow_offload_tuple *tuple, in nf_flow_offload_init()
/linux/net/sched/
H A Dact_ct.c98 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4()
128 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6()
143 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp()
161 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp()
209 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcf_ct_flow_table_add_action_nat() local
490 struct nf_conntrack_tuple *tuple; in tcf_ct_flow_table_process_conn() local
518 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv4()
591 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv6()
664 struct flow_offload_tuple tuple = {}; in tcf_ct_flow_table_lookup() local
/linux/drivers/mtd/maps/
H 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/
H A Den_arfs.c95 struct arfs_tuple tuple; member
516 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local
662 struct arfs_tuple *tuple; in arfs_alloc_rule() local
698 static bool arfs_cmp(const struct arfs_tuple *tuple, const struct flow_keys *fk) in arfs_cmp()
/linux/drivers/mmc/core/
H A Dsdio_cis.c385 struct sdio_func_tuple *tuple, *victim; in sdio_free_common_cis() local
420 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local
/linux/drivers/net/ethernet/8390/
H A Dapne.c123 char tuple[8]; in apne_probe() local
575 u_char tuple[32]; in init_pcmcia() local
/linux/arch/m68k/amiga/
H A Dpcmcia.c40 int pcmcia_copy_tuple(unsigned char tuple_id, void *tuple, int max_len) in pcmcia_copy_tuple()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c58 struct qede_arfs_tuple tuple; member
1787 qede_flow_parse_tcp_v6(struct flow_rule *rule, struct qede_arfs_tuple *tuple, in qede_flow_parse_tcp_v6()
1797 qede_flow_parse_tcp_v4(struct flow_rule *rule, struct qede_arfs_tuple *tuple, in qede_flow_parse_tcp_v4()
1807 qede_flow_parse_udp_v6(struct flow_rule *rule, struct qede_arfs_tuple *tuple, in qede_flow_parse_udp_v6()
1817 qede_flow_parse_udp_v4(struct flow_rule *rule, struct qede_arfs_tuple *tuple, in qede_flow_parse_udp_v4()
1828 struct qede_arfs_tuple *tuple, in qede_parse_flow_attr()
/linux/net/netfilter/ipvs/
H A Dip_vs_nfct.c246 struct nf_conntrack_tuple tuple; ip_vs_conn_drop_conntrack() local
[all...]

123