/linux/include/net/netfilter/ |
H A 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 …]
|
H A 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,
|
H A 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,
|
H A 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);
|
H A D | nf_conntrack.h | 165 int nf_conntrack_tuple_taken(const struct nf_conntrack_tuple *tuple, 204 struct nf_conntrack_tuple *tuple); 257 const struct nf_conntrack_tuple *orig, 258 const struct nf_conntrack_tuple *repl, 284 const struct nf_conntrack_tuple *newreply) in nf_conntrack_alter_reply()
|
H A D | nf_conntrack_count.h | 24 const struct nf_conntrack_tuple *tuple, 28 const struct nf_conntrack_tuple *tuple,
|
/linux/include/linux/netfilter/ |
H A 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/net/netfilter/ |
H A 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() 216 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple() 225 struct nf_conntrack_tuple reply; in nf_nat_used_tuple() 248 nf_nat_used_tuple_new(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_new() 346 nf_nat_used_tuple_harder(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_harder() 353 struct nf_conntrack_tuple reply; in nf_nat_used_tuple_harder() 401 static bool nf_nat_inet_in_range(const struct nf_conntrack_tuple *t, in nf_nat_inet_in_range() 413 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range() [all …]
|
H A 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 …]
|
H A 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()
|
H A 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 …]
|
H A D | nf_conntrack_proto_icmpv6.c | 34 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() 71 const struct nf_conntrack_tuple *orig) in nf_conntrack_invert_icmpv6_tuple() 233 const struct nf_conntrack_tuple *t) in icmpv6_tuple_to_nlattr() 252 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
|
H A D | nf_conntrack_netlink.c | 69 const struct nf_conntrack_tuple *tuple, in ctnetlink_dump_tuples_proto() 93 const struct nf_conntrack_tuple *tuple) in ipv4_tuple_to_nlattr() 102 const struct nf_conntrack_tuple *tuple) in ipv6_tuple_to_nlattr() 111 const struct nf_conntrack_tuple *tuple) in ctnetlink_dump_tuples_ip() 138 const struct nf_conntrack_tuple *tuple) in ctnetlink_dump_tuples() 881 struct nf_conntrack_tuple orig; 882 struct nf_conntrack_tuple reply; 923 struct nf_conntrack_tuple *tuple, 1067 static int ctnetlink_filter_match_tuple(struct nf_conntrack_tuple *filter_tuple, in ctnetlink_filter_match_tuple() 1068 struct nf_conntrack_tuple *ct_tuple, in ctnetlink_filter_match_tuple() [all …]
|
H A 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()
|
H A 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() 398 const struct nf_conntrack_tuple *tuple, in count_tree() 518 const struct nf_conntrack_tuple *tuple, in nf_conncount_count()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | nf_conntrack_bpf.c | 69 struct nf_conntrack_tuple *tuple) in bpf_nf_ct_tuple_parse() 112 struct nf_conntrack_tuple otuple, rtuple; in __bpf_nf_ct_alloc_entry() 178 struct nf_conntrack_tuple tuple; in __bpf_nf_ct_lookup()
|
H A 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()
|
H A 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()
|
H A 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()
|
/linux/net/netfilter/ipvs/ |
H A 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/include/linux/ |
H A D | netfilter.h | 448 struct nf_conntrack_tuple; 449 bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple, 454 struct nf_conntrack_tuple; 455 static inline bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple, in nf_ct_get_tuple_skb() 468 bool (*get_tuple_skb)(struct nf_conntrack_tuple *,
|
/linux/net/sched/ |
H A D | act_ct.c | 96 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4() 97 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv4() 126 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6() 127 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv6() 141 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp() 142 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_tcp() 159 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp() 160 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_udp() 207 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcf_ct_flow_table_add_action_nat() 208 struct nf_conntrack_tuple target; in tcf_ct_flow_table_add_action_nat() [all …]
|