Home
last modified time | relevance | path

Searched refs:nf_conntrack_tuple (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.6.21/include/net/netfilter/
Dnf_conntrack_tuple.h37 struct nf_conntrack_tuple { struct
85 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument
95 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6()
105 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple()
124 struct nf_conntrack_tuple tuple;
127 static inline bool __nf_ct_tuple_src_equal(const struct nf_conntrack_tuple *t1, in __nf_ct_tuple_src_equal()
128 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_src_equal()
135 static inline bool __nf_ct_tuple_dst_equal(const struct nf_conntrack_tuple *t1, in __nf_ct_tuple_dst_equal()
136 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_dst_equal()
143 static inline bool nf_ct_tuple_equal(const struct nf_conntrack_tuple *t1, in nf_ct_tuple_equal()
[all …]
Dnf_conntrack_l4proto.h41 const struct nf_conntrack_tuple *t);
45 struct nf_conntrack_tuple *t,
67 struct nf_conntrack_tuple *tuple);
72 struct nf_conntrack_tuple *tuple);
74 bool nf_conntrack_invert_icmp_tuple(struct nf_conntrack_tuple *tuple,
75 const struct nf_conntrack_tuple *orig);
76 bool nf_conntrack_invert_icmpv6_tuple(struct nf_conntrack_tuple *tuple,
77 const struct nf_conntrack_tuple *orig);
154 const struct nf_conntrack_tuple *tuple);
156 struct nf_conntrack_tuple *t,
Dnf_conntrack_core.h43 bool nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse,
44 const struct nf_conntrack_tuple *orig);
50 const struct nf_conntrack_tuple *tuple);
76 void print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple,
Dnf_conntrack_expect.h26 struct nf_conntrack_tuple tuple;
93 const struct nf_conntrack_tuple *tuple);
98 const struct nf_conntrack_tuple *tuple);
103 const struct nf_conntrack_tuple *tuple, bool unlink);
Dnf_conntrack.h165 const struct nf_conntrack_tuple *newreply);
169 int nf_conntrack_tuple_taken(const struct nf_conntrack_tuple *tuple,
208 struct nf_conntrack_tuple *tuple);
261 const struct nf_conntrack_tuple *orig,
262 const struct nf_conntrack_tuple *repl,
Dnf_conntrack_count.h26 const struct nf_conntrack_tuple *tuple,
30 const struct nf_conntrack_tuple *tuple,
/linux-6.6.21/include/linux/netfilter/
Dnf_conntrack_proto_gre.h20 struct nf_conntrack_tuple tuple;
26 struct nf_conntrack_tuple *t);
32 struct net *net, struct nf_conntrack_tuple *tuple);
/linux-6.6.21/net/netfilter/
Dnf_nat_core.c64 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session()
97 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session()
158 const struct nf_conntrack_tuple *tuple) in hash_by_src()
188 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple()
197 struct nf_conntrack_tuple reply; in nf_nat_used_tuple()
230 nf_nat_used_tuple_harder(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_harder()
237 struct nf_conntrack_tuple reply; in nf_nat_used_tuple_harder()
285 static bool nf_nat_inet_in_range(const struct nf_conntrack_tuple *t, in nf_nat_inet_in_range()
297 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range()
330 static int nf_in_range(const struct nf_conntrack_tuple *tuple, in nf_in_range()
[all …]
Dnf_nat_proto.c35 const struct nf_conntrack_tuple *t,
41 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()
[all …]
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()
57 const struct nf_conntrack_tuple *orig) in nf_conntrack_invert_icmp_tuple()
111 struct nf_conntrack_tuple innertuple, origtuple; in nf_conntrack_inet_error()
256 const struct nf_conntrack_tuple *t) in icmp_tuple_to_nlattr()
275 struct nf_conntrack_tuple *tuple, in icmp_nlattr_to_tuple()
Dnf_conntrack_core.c210 static u32 hash_conntrack_raw(const struct nf_conntrack_tuple *tuple, in hash_conntrack_raw()
224 offsetofend(struct nf_conntrack_tuple, dst.__nfct_hash_offsetend), 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()
421 struct net *net, struct nf_conntrack_tuple *tuple) in nf_ct_get_tuplepr()
435 nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse, in nf_ct_invert_tuple()
436 const struct nf_conntrack_tuple *orig) in nf_ct_invert_tuple()
687 const struct nf_conntrack_tuple *tuple, in nf_ct_key_equal()
[all …]
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()
69 const struct nf_conntrack_tuple *orig) in nf_conntrack_invert_icmpv6_tuple()
231 const struct nf_conntrack_tuple *t) in icmpv6_tuple_to_nlattr()
250 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
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()
882 struct nf_conntrack_tuple orig;
883 struct nf_conntrack_tuple reply;
924 struct nf_conntrack_tuple *tuple,
1065 static int ctnetlink_filter_match_tuple(struct nf_conntrack_tuple *filter_tuple, in ctnetlink_filter_match_tuple()
1066 struct nf_conntrack_tuple *ct_tuple, in ctnetlink_filter_match_tuple()
[all …]
Dnf_conntrack_proto_gre.c59 const struct nf_conntrack_tuple *t) in gre_key_cmpfn()
69 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup()
90 struct nf_conntrack_tuple *t) in nf_ct_gre_keymap_add()
152 struct net *net, struct nf_conntrack_tuple *tuple) in gre_pkt_to_tuple()
Dnfnetlink_cthelper.c72 nfnl_cthelper_parse_tuple(struct nf_conntrack_tuple *tuple, in nfnl_cthelper_parse_tuple()
87 memset(tuple, 0, sizeof(struct nf_conntrack_tuple)); in nfnl_cthelper_parse_tuple()
221 struct nf_conntrack_tuple *tuple) in nfnl_cthelper_create()
250 memcpy(&helper->tuple, tuple, sizeof(struct nf_conntrack_tuple)); in nfnl_cthelper_create()
424 struct nf_conntrack_tuple tuple; in nfnl_cthelper_new()
623 struct nf_conntrack_tuple tuple; in nfnl_cthelper_get()
686 struct nf_conntrack_tuple tuple; in nfnl_cthelper_del()
Dnf_conncount.c43 struct nf_conntrack_tuple tuple;
127 const struct nf_conntrack_tuple *tuple, in __nf_conncount_add()
203 const struct nf_conntrack_tuple *tuple, in nf_conncount_add()
316 const struct nf_conntrack_tuple *tuple, in insert_tree()
399 const struct nf_conntrack_tuple *tuple, in count_tree()
520 const struct nf_conntrack_tuple *tuple, in nf_conncount_count()
Dxt_connlimit.c34 struct nf_conntrack_tuple tuple; in connlimit_mt()
35 const struct nf_conntrack_tuple *tuple_ptr = &tuple; in connlimit_mt()
Dnf_conntrack_expect.c82 static unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tup… 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()
Dnf_conntrack_bpf.c63 struct nf_conntrack_tuple *tuple) in bpf_nf_ct_tuple_parse()
106 struct nf_conntrack_tuple otuple, rtuple; in __bpf_nf_ct_alloc_entry()
154 struct nf_conntrack_tuple tuple; in __bpf_nf_ct_lookup()
Dnft_connlimit.c28 const struct nf_conntrack_tuple *tuple_ptr; in nft_connlimit_do_eval()
29 struct nf_conntrack_tuple tuple; in nft_connlimit_do_eval()
Dxt_conntrack.c79 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check()
123 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check_v3()
Dnft_ct.c59 const struct nf_conntrack_tuple *tuple; in nft_ct_get_eval()
436 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
441 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
453 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
460 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
466 len = sizeof_field(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_nfct.c75 struct nf_conntrack_tuple new_tuple; in ip_vs_update_conntrack()
143 struct nf_conntrack_tuple *orig, new_reply; in ip_vs_nfct_expect_callback()
246 struct nf_conntrack_tuple tuple; in ip_vs_conn_drop_conntrack()
251 tuple = (struct nf_conntrack_tuple) { in ip_vs_conn_drop_conntrack()
/linux-6.6.21/include/linux/
Dnetfilter.h443 struct nf_conntrack_tuple;
444 bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple,
449 struct nf_conntrack_tuple;
450 static inline bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple, in nf_ct_get_tuple_skb()
463 bool (*get_tuple_skb)(struct nf_conntrack_tuple *,
/linux-6.6.21/net/sched/
Dact_ct.c91 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4()
92 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv4()
121 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6()
122 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv6()
136 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp()
137 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_tcp()
154 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp()
155 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_udp()
202 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcf_ct_flow_table_add_action_nat()
203 struct nf_conntrack_tuple target; in tcf_ct_flow_table_add_action_nat()
[all …]

12