/linux/net/netfilter/ |
A D | xt_connbytes.c | 48 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt() 52 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt() 62 what = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt() 66 what += atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt() 77 bytes = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt() 78 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt() 82 atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt() 84 atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
|
A D | nf_conntrack_core.c | 665 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_ct_delete_from_lists() 736 &ct2->tuplehash[IP_CT_DIR_REPLY].tuple) && in nf_ct_match() 842 rid = nf_ct_zone_id(zone, IP_CT_DIR_REPLY); in nf_conntrack_find_get() 882 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_conntrack_hash_check_insert() 1033 &loser_ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_ct_resolve_clash_harder() 1164 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_conntrack_confirm() 1559 ct->tuplehash[IP_CT_DIR_REPLY].tuple = *repl; in __nf_conntrack_alloc() 1737 rid = nf_ct_zone_id(zone, IP_CT_DIR_REPLY); in resolve_normal_ct() 1756 if (NF_CT_DIRECTION(h) == IP_CT_DIR_REPLY) { in resolve_normal_ct() 1962 ct->tuplehash[IP_CT_DIR_REPLY].tuple = *newreply; in nf_conntrack_alter_reply() [all …]
|
A D | xt_conntrack.c | 62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc() 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 98 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check() 144 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check_v3()
|
A D | nf_nat_irc.c | 45 newaddr = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3; in help() 48 exp->dir = IP_CT_DIR_REPLY; in help()
|
A D | nf_conntrack_tftp.c | 62 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_help() 69 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
|
A D | nf_conntrack_proto_sctp.c | 308 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 318 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 511 dir == IP_CT_DIR_REPLY && in nf_conntrack_sctp_packet() 564 ct->proto.sctp.vtag[IP_CT_DIR_REPLY])) in sctp_to_nlattr() 613 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = in nlattr_to_sctp()
|
A D | nf_nat_tftp.c | 31 exp->dir = IP_CT_DIR_REPLY; in help()
|
A D | nf_conntrack_proto_dccp.c | 410 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in dccp_new() 662 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in nlattr_to_dccp() 665 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_CLIENT; in nlattr_to_dccp()
|
A D | nf_conntrack_broadcast.c | 60 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
|
A D | nf_nat_core.c | 291 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in find_appropriate_src() 603 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_nat_setup_info() 657 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding() 658 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding() 691 if (dir == IP_CT_DIR_REPLY) in nf_nat_packet()
|
A D | nf_conntrack_pptp.c | 200 memcpy(&t, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, sizeof(t)); in pptp_destroy_siblings() 234 dir = IP_CT_DIR_REPLY; in exp_gre() 253 if (nf_ct_gre_keymap_add(ct, IP_CT_DIR_REPLY, &exp_reply->tuple) != 0) { in exp_gre()
|
A D | nf_conntrack_ftp.c | 94 [IP_CT_DIR_REPLY] = { 560 ftp->flags[IP_CT_DIR_REPLY] |= NF_CT_FTP_SEQ_PICKUP; in nf_ct_ftp_from_nlattr()
|
A D | nf_conntrack_helper.c | 220 if (!__nf_ct_helper_find(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)) in nf_ct_lookup_helper() 230 return __nf_ct_helper_find(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_ct_lookup_helper()
|
A D | nft_ct.c | 56 nft_ct_get_eval_counter(c, k, IP_CT_DIR_REPLY); in nft_ct_get_eval_counter() 253 case IP_CT_DIR_REPLY: in nft_ct_set_zone_eval() 495 case IP_CT_DIR_REPLY: in nft_ct_get_init() 602 case IP_CT_DIR_REPLY: in nft_ct_set_init()
|
A D | nf_conntrack_irc.c | 126 if (dir == IP_CT_DIR_REPLY) in help()
|
A D | nf_conntrack_proto_gre.c | 105 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); in nf_ct_gre_keymap_add()
|
A D | nf_nat_masquerade.c | 172 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in inet_cmp()
|
A D | nf_conntrack_netlink.c | 290 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct() 461 seq = &seqadj->seq[IP_CT_DIR_REPLY]; in ctnetlink_dump_ct_seq_adj() 587 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_fill_info() 763 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_conntrack_event() 1143 tuple = nf_ct_tuple(ct, IP_CT_DIR_REPLY); in ctnetlink_filter_match() 1476 tuple->dst.dir = IP_CT_DIR_REPLY; in ctnetlink_parse_tuple_filter() 2111 ret = change_seq_adj(&seqadj->seq[IP_CT_DIR_REPLY], in ctnetlink_change_seq_adj() 2709 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in __ctnetlink_glue_build()
|
A D | nf_conntrack_proto_icmp.c | 188 if (dir == IP_CT_DIR_REPLY) in nf_conntrack_inet_error()
|
/linux/include/uapi/linux/netfilter/ |
A D | nf_conntrack_tuple_common.h | 13 IP_CT_DIR_REPLY, enumerator 44 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_nfct.c | 104 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack() 122 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)); in ip_vs_update_conntrack() 167 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback() 183 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
|
/linux/net/ipv4/netfilter/ |
A D | nf_nat_pptp.c | 111 if (exp->dir == IP_CT_DIR_REPLY) { in pptp_nat_expected() 156 new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; in pptp_outbound_pkt() 226 expect_reply->dir = IP_CT_DIR_REPLY; in pptp_exp_gre()
|
A D | nf_nat_snmp_basic_main.c | 170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) in help()
|
/linux/include/linux/netfilter/ |
A D | nf_conntrack_zones_common.h | 10 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
|
/linux/include/net/netfilter/ |
A D | nf_flow_table.h | 90 FLOW_OFFLOAD_DIR_REPLY = IP_CT_DIR_REPLY,
|