/linux-6.6.21/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 37 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 …]
|
D | nf_conntrack_l4proto.h | 41 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,
|
D | nf_conntrack_core.h | 43 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,
|
D | nf_conntrack_expect.h | 26 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);
|
D | nf_conntrack.h | 165 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,
|
D | nf_conntrack_count.h | 26 const struct nf_conntrack_tuple *tuple, 30 const struct nf_conntrack_tuple *tuple,
|
/linux-6.6.21/include/linux/netfilter/ |
D | nf_conntrack_proto_gre.h | 20 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/ |
D | nf_nat_core.c | 64 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 …]
|
D | nf_nat_proto.c | 35 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 …]
|
D | nf_conntrack_proto_icmp.c | 28 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()
|
D | nf_conntrack_core.c | 210 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 …]
|
D | nf_conntrack_proto_icmpv6.c | 34 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()
|
D | nf_conntrack_netlink.c | 68 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 …]
|
D | nf_conntrack_proto_gre.c | 59 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()
|
D | nfnetlink_cthelper.c | 72 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()
|
D | nf_conncount.c | 43 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()
|
D | xt_connlimit.c | 34 struct nf_conntrack_tuple tuple; in connlimit_mt() 35 const struct nf_conntrack_tuple *tuple_ptr = &tuple; in connlimit_mt()
|
D | nf_conntrack_expect.c | 82 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()
|
D | nf_conntrack_bpf.c | 63 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()
|
D | nft_connlimit.c | 28 const struct nf_conntrack_tuple *tuple_ptr; in nft_connlimit_do_eval() 29 struct nf_conntrack_tuple tuple; in nft_connlimit_do_eval()
|
D | xt_conntrack.c | 79 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check() 123 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check_v3()
|
D | nft_ct.c | 59 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/ |
D | ip_vs_nfct.c | 75 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/ |
D | netfilter.h | 443 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/ |
D | act_ct.c | 91 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 …]
|