Home
last modified time | relevance | path

Searched refs:IP_CT_DIR_REPLY (Results 1 – 25 of 35) sorted by relevance

12

/linux/net/netfilter/
H A Dxt_connbytes.c49 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
53 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
63 what = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
67 what += atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
78 bytes = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
79 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
83 atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
85 atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
H A Dnf_conntrack_core.c511 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists()
611 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_ct_delete_from_lists()
612 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in __nf_ct_delete_from_lists()
704 nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_ct_match()
705 &ct2->tuplehash[IP_CT_DIR_REPLY].tuple) && in nf_ct_match()
707 nf_ct_zone_equal(ct1, nf_ct_zone(ct2), IP_CT_DIR_REPLY) && in nf_ct_match()
815 rid = nf_ct_zone_id(zone, IP_CT_DIR_REPLY); in nf_conntrack_find_get()
832 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, in __nf_conntrack_hash_insert()
888 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_conntrack_hash_check_insert()
889 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in nf_conntrack_hash_check_insert()
[all...]
H A Dxt_conntrack.c62 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 Dnf_nat_irc.c45 newaddr = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3; in help()
48 exp->dir = IP_CT_DIR_REPLY; in help()
H A Dnf_conntrack_tftp.c60 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_help()
67 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
H A Dnf_nat_tftp.c31 exp->dir = IP_CT_DIR_REPLY; in help()
H A Dnf_nat_core.c203 * the existing and the newly added entry (identical IP_CT_DIR_REPLY tuple).
298 &ignored_ct->tuplehash[IP_CT_DIR_REPLY].tuple)) in nf_nat_used_tuple_new()
476 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in find_appropriate_src()
788 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_nat_setup_info()
842 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding()
843 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding()
876 if (dir == IP_CT_DIR_REPLY) in nf_nat_packet()
H A Dnf_conntrack_proto_sctp.c276 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new()
286 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new()
570 ct->proto.sctp.vtag[IP_CT_DIR_REPLY])) in sctp_to_nlattr()
620 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = in nlattr_to_sctp()
H A Dnf_conntrack_ecache.c78 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 Dnf_conntrack_pptp.c178 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 Dnf_conntrack_broadcast.c62 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
H A Dnf_nat_ovs.c104 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) in nf_ct_nat()
H A Dnf_conntrack_proto_tcp.c475 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 Dnf_conntrack_ftp.c84 [IP_CT_DIR_REPLY] = {
550 ftp->flags[IP_CT_DIR_REPLY] |= NF_CT_FTP_SEQ_PICKUP; in nf_ct_ftp_from_nlattr()
H A Dnft_ct.c49 nft_ct_get_eval_counter(c, k, IP_CT_DIR_REPLY); in nft_ct_get_eval_counter()
247 case IP_CT_DIR_REPLY: in nft_ct_set_zone_eval()
341 [NFTA_CT_DIRECTION] = NLA_POLICY_MAX(NLA_U8, IP_CT_DIR_REPLY),
508 case IP_CT_DIR_REPLY: in nft_ct_get_init()
621 case IP_CT_DIR_REPLY: in nft_ct_set_init()
H A Dnf_conntrack_irc.c123 if (dir == IP_CT_DIR_REPLY) in help()
H A Dnf_conntrack_netlink.c301 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct()
492 seq = &seqadj->seq[IP_CT_DIR_REPLY]; in ctnetlink_dump_ct_seq_adj()
618 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_fill_info()
797 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_conntrack_event()
1180 tuple = nf_ct_tuple(ct, IP_CT_DIR_REPLY); in ctnetlink_filter_match()
1514 tuple->dst.dir = IP_CT_DIR_REPLY; in ctnetlink_parse_tuple_filter()
2097 ret = change_seq_adj(&seqadj->seq[IP_CT_DIR_REPLY], in ctnetlink_change_seq_adj()
2691 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in __ctnetlink_glue_build()
3477 [CTA_EXPECT_NAT_DIR] = NLA_POLICY_MAX(NLA_BE32, IP_CT_DIR_REPLY),
H A Dnf_conntrack_proto_gre.c107 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); in nf_ct_gre_keymap_add()
/linux/include/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h13 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 Dip_vs_nfct.c103 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
121 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)); in ip_vs_update_conntrack()
166 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
182 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
/linux/net/ipv4/netfilter/
H A Dnf_nat_pptp.c111 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 Dnf_nat_snmp_basic_main.c170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) in help()
/linux/include/linux/netfilter/
H A Dnf_conntrack_zones_common.h10 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_bpf_nf.c14 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
193 tuple = &ct_lk->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_ct_test()
/linux/include/net/netfilter/
H A Dnf_conntrack.h287 ct->tuplehash[IP_CT_DIR_REPLY].tuple = *newreply; in nf_conntrack_alter_reply()

12