Home
last modified time | relevance | path

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

/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/
H A Dnf_conntrack_core.c511 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists()
618 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_ct_delete_from_lists()
619 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in __nf_ct_delete_from_lists()
711 nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_ct_match()
712 &ct2->tuplehash[IP_CT_DIR_REPLY].tuple) && in nf_ct_match()
714 nf_ct_zone_equal(ct1, nf_ct_zone(ct2), IP_CT_DIR_REPLY) && in nf_ct_match()
822 rid = nf_ct_zone_id(zone, IP_CT_DIR_REPLY); in nf_conntrack_find_get()
839 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode, in __nf_conntrack_hash_insert()
895 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in nf_conntrack_hash_check_insert()
896 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_REPLY)); in nf_conntrack_hash_check_insert()
[all …]
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 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_conntrack_proto_gre.c106 km_repl = ct_pptp_info->keymap[IP_CT_DIR_REPLY]; in nf_ct_gre_km_acceptable()
160 ct_pptp_info->keymap[IP_CT_DIR_REPLY]) in nf_ct_gre_keymap_add()
170 ct_pptp_info->keymap[IP_CT_DIR_REPLY] = km_repl; in nf_ct_gre_keymap_add()
H A Dnf_nat_tftp.c31 exp->dir = IP_CT_DIR_REPLY; in help()
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()
574 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 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_broadcast.c62 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
H A Dnft_ct.c49 nft_ct_get_eval_counter(c, k, IP_CT_DIR_REPLY); in nft_ct_get_eval_counter()
245 case IP_CT_DIR_REPLY: in nft_ct_set_zone_eval()
339 [NFTA_CT_DIRECTION] = NLA_POLICY_MAX(NLA_U8, IP_CT_DIR_REPLY),
506 case IP_CT_DIR_REPLY: in nft_ct_get_init()
619 case IP_CT_DIR_REPLY: in nft_ct_set_init()
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()
1244 ct->proto.tcp.last_dir == IP_CT_DIR_REPLY && in nf_conntrack_tcp_packet()
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()
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()
2692 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) in __ctnetlink_glue_build()
3492 [CTA_EXPECT_NAT_DIR] = NLA_POLICY_MAX(NLA_BE32, IP_CT_DIR_REPLY),
H A Dxt_HMARK.c90 rtuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in hmark_ct_set_htuple()
H A Dnf_nat_sip.c285 if (dir == IP_CT_DIR_REPLY && ct_sip_info->forced_dport) { in nf_nat_sip()
H A Dnf_synproxy_core.c223 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) { in synproxy_tstamp_adjust()
/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_flow_table.h96 FLOW_OFFLOAD_DIR_REPLY = IP_CT_DIR_REPLY,
/linux/net/sched/
H A Dact_ct.c265 dir = IP_CT_DIR_REPLY; in tcf_ct_flow_table_fill_actions()
/linux/net/openvswitch/
H A Dconntrack.c470 if (NF_CT_DIRECTION(h) == IP_CT_DIR_REPLY) in ovs_ct_get_info()