Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dxt_connbytes.c48 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()
Dnf_nat_irc.c43 newaddr = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3; in help()
46 exp->dir = IP_CT_DIR_REPLY; in help()
Dxt_conntrack.c65 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc()
74 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst()
101 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check()
147 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check_v3()
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()
Dnf_conntrack_core.c242 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists()
382 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_ct_delete_from_lists()
527 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, in __nf_conntrack_hash_insert()
549 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_conntrack_hash_check_insert()
560 if (nf_ct_tuple_equal(&ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_conntrack_hash_check_insert()
615 hash = *(unsigned long *)&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev; in __nf_conntrack_confirm()
618 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in __nf_conntrack_confirm()
653 if (nf_ct_tuple_equal(&ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_conntrack_confirm()
852 ct->tuplehash[IP_CT_DIR_REPLY].tuple = *repl; in __nf_conntrack_alloc()
854 *(unsigned long *)(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev) = hash; in __nf_conntrack_alloc()
[all …]
Dnf_nat_tftp.c29 exp->dir = IP_CT_DIR_REPLY; in help()
Dnf_nat_core.c205 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in find_appropriate_src()
403 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_nat_setup_info()
457 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding()
458 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding()
492 if (dir == IP_CT_DIR_REPLY) in nf_nat_packet()
Dnf_conntrack_broadcast.c62 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
Dnf_conntrack_proto_sctp.c429 dir == IP_CT_DIR_REPLY && in sctp_packet()
496 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = in sctp_new()
512 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new()
540 ct->proto.sctp.vtag[IP_CT_DIR_REPLY])) in sctp_to_nlattr()
586 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = in nlattr_to_sctp()
Dnf_conntrack_pptp.c194 memcpy(&t, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, sizeof(t)); in pptp_destroy_siblings()
228 dir = IP_CT_DIR_REPLY; in exp_gre()
247 if (nf_ct_gre_keymap_add(ct, IP_CT_DIR_REPLY, &exp_reply->tuple) != 0) { in exp_gre()
Dnf_conntrack_proto_dccp.c450 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in dccp_new()
690 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in nlattr_to_dccp()
693 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_CLIENT; in nlattr_to_dccp()
Dnf_conntrack_standalone.c245 print_tuple(s, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in ct_seq_show()
250 if (seq_print_acct(s, ct, IP_CT_DIR_REPLY)) in ct_seq_show()
Dnf_conntrack_ftp.c93 [IP_CT_DIR_REPLY] = {
569 ftp->flags[IP_CT_DIR_REPLY] |= NF_CT_FTP_SEQ_PICKUP; in nf_ct_ftp_from_nlattr()
Dnf_conntrack_irc.c126 if (dir == IP_CT_DIR_REPLY) in help()
Dnf_synproxy_core.c218 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) { in synproxy_tstamp_adjust()
Dnf_conntrack_netlink.c270 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct()
442 seq = &seqadj->seq[IP_CT_DIR_REPLY]; in ctnetlink_dump_ct_seq_adj()
506 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_fill_info()
697 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in ctnetlink_conntrack_event()
1041 tuple->dst.dir = IP_CT_DIR_REPLY; in ctnetlink_parse_tuple()
1627 ret = change_seq_adj(&seqadj->seq[IP_CT_DIR_REPLY], in ctnetlink_change_seq_adj()
2198 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in __ctnetlink_glue_build()
Dnft_ct.c302 case IP_CT_DIR_REPLY: in nft_ct_get_init()
Dxt_HMARK.c91 rtuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in hmark_ct_set_htuple()
Dnf_conntrack_proto_gre.c135 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); in nf_ct_gre_keymap_add()
Dnf_conntrack_helper.c213 helper = __nf_ct_helper_find(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in __nf_ct_try_assign_helper()
Dnf_nat_sip.c280 if (dir == IP_CT_DIR_REPLY && ct_sip_info->forced_dport) { in nf_nat_sip()
Dnf_conntrack_proto_tcp.c593 && dir == IP_CT_DIR_REPLY)) in tcp_in_window()
/linux-4.4.14/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h6 IP_CT_DIR_REPLY, enumerator
37 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_nfct.c111 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
130 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple), in ip_vs_update_conntrack()
170 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
190 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback()
/linux-4.4.14/include/linux/netfilter/
Dnf_conntrack_zones_common.h9 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
/linux-4.4.14/net/ipv4/netfilter/
Dnf_nat_pptp.c105 if (exp->dir == IP_CT_DIR_REPLY) { in pptp_nat_expected()
146 new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; in pptp_outbound_pkt()
213 expect_reply->dir = IP_CT_DIR_REPLY; in pptp_exp_gre()
Dnf_conntrack_l3proto_ipv4_compat.c165 print_tuple(s, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in ct_seq_show()
171 if (seq_print_acct(s, ct, IP_CT_DIR_REPLY)) in ct_seq_show()
Dnf_conntrack_proto_icmp.c171 if (NF_CT_DIRECTION(h) == IP_CT_DIR_REPLY) in icmp_error_message()
Dnf_nat_l3proto_ipv4.c227 if (dir == IP_CT_DIR_REPLY) in nf_nat_icmp_reply_translation()
Dnf_nat_snmp_basic.c1228 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) in help()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c187 if (NF_CT_DIRECTION(h) == IP_CT_DIR_REPLY) in icmpv6_error_message()
Dnf_nat_l3proto_ipv6.c233 if (dir == IP_CT_DIR_REPLY) in nf_nat_icmpv6_reply_translation()