Home
last modified time | relevance | path

Searched defs:tuple (Results 1 – 25 of 64) 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
/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_nat_core.c154 const struct nf_conntrack_tuple *tuple) in hash_by_src()
212 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple()
244 nf_nat_used_tuple_new(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_new()
336 nf_nat_used_tuple_harder(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_harder()
403 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range()
435 static int nf_in_range(const struct nf_conntrack_tuple *tuple, in nf_in_range()
454 const struct nf_conntrack_tuple *tuple) in same_src()
468 const struct nf_conntrack_tuple *tuple, in find_appropriate_src()
499 struct nf_conntrack_tuple *tuple, in find_best_ips_proto()
570 static void nf_nat_l4proto_unique_tuple(struct nf_conntrack_tuple *tuple, in nf_nat_l4proto_unique_tuple()
[all …]
H 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 icmp_manip_pkt()
216 const struct nf_conntrack_tuple *tuple, in icmpv6_manip_pkt()
240 const struct nf_conntrack_tuple *tuple, in gre_manip_pkt()
279 const struct nf_conntrack_tuple *tuple, in l4proto_manip_pkt()
H A Dnfnetlink_cthelper.c72 nfnl_cthelper_parse_tuple(struct nf_conntrack_tuple *tuple, in nfnl_cthelper_parse_tuple()
221 struct nf_conntrack_tuple *tuple) in nfnl_cthelper_create()
424 struct nf_conntrack_tuple tuple; in nfnl_cthelper_new() local
623 struct nf_conntrack_tuple tuple; in nfnl_cthelper_get() local
686 struct nf_conntrack_tuple tuple; in nfnl_cthelper_del() local
H A Dnf_flow_table_bpf.c37 struct flow_offload_tuple *tuple, __be16 proto) in bpf_xdp_flow_tuple_lookup()
63 struct flow_offload_tuple tuple = { in bpf_xdp_flow_lookup() local
H A Dnf_conntrack_core.c210 static u32 hash_conntrack_raw(const struct nf_conntrack_tuple *tuple, in hash_conntrack_raw()
234 const struct nf_conntrack_tuple *tuple, in __hash_conntrack()
242 const struct nf_conntrack_tuple *tuple, in hash_conntrack()
250 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple_ports()
273 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple()
418 struct net *net, struct nf_conntrack_tuple *tuple) in nf_ct_get_tuplepr()
687 const struct nf_conntrack_tuple *tuple, in nf_ct_key_equal()
736 const struct nf_conntrack_tuple *tuple, u32 hash) in ____nf_conntrack_find()
775 const struct nf_conntrack_tuple *tuple, u32 hash) in __nf_conntrack_find_get()
805 const struct nf_conntrack_tuple *tuple) in nf_conntrack_find_get()
[all …]
H A Dnf_flow_table_ip.c146 struct flow_offload_tuple *tuple) in nf_flow_tuple_encap() argument
178 nf_flow_tuple_ip(struct nf_flowtable_ctx * ctx,struct sk_buff * skb,struct flow_offload_tuple * tuple) nf_flow_tuple_ip() argument
261 nf_flow_dst_check(struct flow_offload_tuple * tuple) nf_flow_dst_check() argument
358 struct flow_offload_tuple tuple = {}; nf_flow_offload_lookup() local
584 nf_flow_tuple_ipv6(struct nf_flowtable_ctx * ctx,struct sk_buff * skb,struct flow_offload_tuple * tuple) nf_flow_tuple_ipv6() argument
700 struct flow_offload_tuple tuple = {}; nf_flow_offload_ipv6_lookup() local
[all...]
H 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()
H A Dnf_conntrack_proto_icmpv6.c34 struct nf_conntrack_tuple *tuple) in icmpv6_pkt_to_tuple()
70 bool nf_conntrack_invert_icmpv6_tuple(struct nf_conntrack_tuple *tuple, in nf_conntrack_invert_icmpv6_tuple()
252 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
H 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, bool unlink) in nf_ct_find_expectation()
H A Dnf_conncount.c43 struct nf_conntrack_tuple tuple; member
129 struct nf_conntrack_tuple *tuple, in get_ct_or_tuple_from_skb()
170 struct nf_conntrack_tuple tuple; in __nf_conncount_add() local
392 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
/linux/net/sched/
H A Dact_ct.c96 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4() argument
126 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6() argument
141 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp() argument
159 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple * tuple,struct nf_conntrack_tuple target,struct flow_action * action) tcf_ct_flow_table_add_action_nat_udp() argument
207 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; tcf_ct_flow_table_add_action_nat() local
484 struct nf_conntrack_tuple *tuple; tcf_ct_flow_table_process_conn() local
512 tcf_ct_flow_table_fill_tuple_ipv4(struct sk_buff * skb,struct flow_offload_tuple * tuple,struct tcphdr ** tcph) tcf_ct_flow_table_fill_tuple_ipv4() argument
585 tcf_ct_flow_table_fill_tuple_ipv6(struct sk_buff * skb,struct flow_offload_tuple * tuple,struct tcphdr ** tcph) tcf_ct_flow_table_fill_tuple_ipv6() argument
658 struct flow_offload_tuple tuple = {}; tcf_ct_flow_table_lookup() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c95 struct arfs_tuple tuple; member
517 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local
663 struct arfs_tuple *tuple; in arfs_alloc_rule() local
699 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/include/linux/netfilter/
H A Dnf_conntrack_proto_gre.h20 struct nf_conntrack_tuple tuple; member
/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

123