/linux/net/netfilter/ |
H 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()
|
H A D | nf_conntrack_core.c | 512 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists() 614 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_ct_delete_from_lists() 615 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in __nf_ct_delete_from_lists() 707 nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_ct_match() 708 &ct2->tuplehash[IP_CT_DIR_REPLY].tuple) && in nf_ct_match() 710 nf_ct_zone_equal(ct1, nf_ct_zone(ct2), IP_CT_DIR_REPLY) && in nf_ct_match() 818 rid = nf_ct_zone_id(zone, IP_CT_DIR_REPLY); in nf_conntrack_find_get() 835 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, in __nf_conntrack_hash_insert() 891 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_conntrack_hash_check_insert() 892 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in nf_conntrack_hash_check_insert() [all …]
|
H 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()
|
H 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()
|
H 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()
|
H A D | nf_nat_core.c | 300 if (thash->tuple.dst.dir != IP_CT_DIR_REPLY) in nf_nat_used_tuple_new() 308 &ignored_ct->tuplehash[IP_CT_DIR_REPLY].tuple) && in nf_nat_used_tuple_new() 309 nf_ct_tuple_equal(&ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_nat_used_tuple_new() 492 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in find_appropriate_src() 806 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_nat_setup_info() 860 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding() 861 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding() 894 if (dir == IP_CT_DIR_REPLY) in nf_nat_packet()
|
H A D | nf_nat_tftp.c | 31 exp->dir = IP_CT_DIR_REPLY; in help()
|
H A D | nf_conntrack_ecache.c | 78 hlist_nulls_add_head(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, &evicted_list); in ecache_work_evict_list() 97 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in ecache_work_evict_list()
|
H A D | nf_conntrack_proto_sctp.c | 281 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 291 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 575 ct->proto.sctp.vtag[IP_CT_DIR_REPLY])) in sctp_to_nlattr() 624 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = in nlattr_to_sctp()
|
H A D | nf_conntrack_broadcast.c | 61 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
|
H A D | nf_conntrack_proto_dccp.c | 412 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in dccp_new() 710 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in nlattr_to_dccp() 713 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_CLIENT; in nlattr_to_dccp()
|
H A D | nf_conntrack_pptp.c | 178 memcpy(&t, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, sizeof(t)); in pptp_destroy_siblings() 212 dir = IP_CT_DIR_REPLY; in exp_gre() 231 if (nf_ct_gre_keymap_add(ct, IP_CT_DIR_REPLY, &exp_reply->tuple) != 0) { in exp_gre()
|
H A D | nf_nat_ovs.c | 101 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) in nf_ct_nat()
|
H A D | nf_conntrack_proto_tcp.c | 475 if (dir == IP_CT_DIR_REPLY && in tcp_init_sender() 592 if (dir == IP_CT_DIR_REPLY && !tcph->ack) in tcp_in_window() 1111 dir == IP_CT_DIR_REPLY) in nf_conntrack_tcp_packet() 1167 if (dir == IP_CT_DIR_REPLY && index == TCP_ACK_SET && in nf_conntrack_tcp_packet() 1243 ct->proto.tcp.last_dir == IP_CT_DIR_REPLY && in nf_conntrack_tcp_packet()
|
H A D | nf_conntrack_ftp.c | 90 [IP_CT_DIR_REPLY] = { 556 ftp->flags[IP_CT_DIR_REPLY] |= NF_CT_FTP_SEQ_PICKUP; in nf_ct_ftp_from_nlattr()
|
H A D | nft_ct.c | 47 nft_ct_get_eval_counter(c, k, IP_CT_DIR_REPLY); in nft_ct_get_eval_counter() 244 case IP_CT_DIR_REPLY: in nft_ct_set_zone_eval() 492 case IP_CT_DIR_REPLY: in nft_ct_get_init() 600 case IP_CT_DIR_REPLY: in nft_ct_set_init()
|
H A D | nf_conntrack_irc.c | 128 if (dir == IP_CT_DIR_REPLY) in help()
|
H A D | nf_conntrack_proto_gre.c | 105 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); in nf_ct_gre_keymap_add()
|
/linux/include/uapi/linux/netfilter/ |
H 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/ |
H 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/ |
H 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()
|
H 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/ |
H A D | nf_conntrack_zones_common.h | 10 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_bpf_nf.c | 14 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY) 200 tuple = &ct_lk->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_ct_test()
|
/linux/include/net/netfilter/ |
H A D | nf_conntrack.h | 290 ct->tuplehash[IP_CT_DIR_REPLY].tuple = *newreply; in nf_conntrack_alter_reply()
|