/Linux-v6.1/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 37 struct nf_conntrack_tuple { struct 82 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument 92 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6() 102 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple() 121 struct nf_conntrack_tuple tuple; 124 static inline bool __nf_ct_tuple_src_equal(const struct nf_conntrack_tuple *t1, in __nf_ct_tuple_src_equal() 125 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_src_equal() 132 static inline bool __nf_ct_tuple_dst_equal(const struct nf_conntrack_tuple *t1, in __nf_ct_tuple_dst_equal() 133 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_dst_equal() 140 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); 77 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);
|
D | nf_conntrack.h | 159 const struct nf_conntrack_tuple *newreply); 163 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,
|
D | nf_conntrack_count.h | 26 const struct nf_conntrack_tuple *tuple, 30 const struct nf_conntrack_tuple *tuple,
|
/Linux-v6.1/include/linux/netfilter/ |
D | nf_conntrack_proto_gre.h | 20 struct nf_conntrack_tuple tuple; 26 struct nf_conntrack_tuple *t); 33 struct net *net, struct nf_conntrack_tuple *tuple);
|
/Linux-v6.1/net/netfilter/ |
D | nf_nat_core.c | 61 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session() 94 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session() 155 const struct nf_conntrack_tuple *tuple) in hash_by_src() 185 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple() 194 struct nf_conntrack_tuple reply; in nf_nat_used_tuple() 200 static bool nf_nat_inet_in_range(const struct nf_conntrack_tuple *t, in nf_nat_inet_in_range() 212 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range() 245 static int in_range(const struct nf_conntrack_tuple *tuple, in in_range() 264 const struct nf_conntrack_tuple *tuple) in same_src() 266 const struct nf_conntrack_tuple *t; in same_src() [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_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() 178 const struct nf_conntrack_tuple *t) in icmpv6_tuple_to_nlattr() 197 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
|
D | nf_conntrack_core.c | 210 static u32 hash_conntrack_raw(const struct nf_conntrack_tuple *tuple, in hash_conntrack_raw() 244 const struct nf_conntrack_tuple *tuple, in __hash_conntrack() 252 const struct nf_conntrack_tuple *tuple, in hash_conntrack() 260 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple_ports() 283 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple() 431 struct net *net, struct nf_conntrack_tuple *tuple) in nf_ct_get_tuplepr() 445 nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse, in nf_ct_invert_tuple() 446 const struct nf_conntrack_tuple *orig) in nf_ct_invert_tuple() 700 const struct nf_conntrack_tuple *tuple, in nf_ct_key_equal() 749 const struct nf_conntrack_tuple *tuple, u32 hash) in ____nf_conntrack_find() [all …]
|
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() 877 struct nf_conntrack_tuple orig; 878 struct nf_conntrack_tuple reply; 919 struct nf_conntrack_tuple *tuple, 1060 static int ctnetlink_filter_match_tuple(struct nf_conntrack_tuple *filter_tuple, in ctnetlink_filter_match_tuple() 1061 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) in nf_ct_find_expectation()
|
D | nf_conntrack_bpf.c | 62 struct nf_conntrack_tuple *tuple) in bpf_nf_ct_tuple_parse() 105 struct nf_conntrack_tuple otuple, rtuple; in __bpf_nf_ct_alloc_entry() 153 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 | 69 const struct nf_conntrack_tuple *tuple; in nft_ct_get_eval() 444 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init() 449 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init() 461 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init() 468 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init() 474 len = sizeof_field(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
|
/Linux-v6.1/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-v6.1/include/linux/ |
D | netfilter.h | 440 struct nf_conntrack_tuple; 441 bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple, 445 struct nf_conntrack_tuple; 446 static inline bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple, in nf_ct_get_tuple_skb() 459 bool (*get_tuple_skb)(struct nf_conntrack_tuple *,
|
/Linux-v6.1/net/sched/ |
D | act_ct.c | 89 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4() 90 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv4() 119 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6() 120 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv6() 134 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp() 135 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_tcp() 152 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp() 153 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 …]
|