Home
last modified time | relevance | path

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

12

/linux-6.6.21/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_conntrack_core.c512 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 …]
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()
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()
Dnf_conntrack_tftp.c62 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()
Dnf_nat_tftp.c31 exp->dir = IP_CT_DIR_REPLY; in help()
Dnf_conntrack_broadcast.c61 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_conntrack_broadcast_help()
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()
Dnf_conntrack_proto_sctp.c281 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()
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()
Dnf_conntrack_proto_dccp.c412 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()
Dnf_nat_ovs.c101 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) in nf_ct_nat()
Dnf_nat_core.c376 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in find_appropriate_src()
687 &ct->tuplehash[IP_CT_DIR_REPLY].tuple); in nf_nat_setup_info()
741 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding()
742 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding()
775 if (dir == IP_CT_DIR_REPLY) in nf_nat_packet()
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()
1110 dir == IP_CT_DIR_REPLY) in nf_conntrack_tcp_packet()
1166 if (dir == IP_CT_DIR_REPLY && index == TCP_ACK_SET && in nf_conntrack_tcp_packet()
1242 ct->proto.tcp.last_dir == IP_CT_DIR_REPLY && in nf_conntrack_tcp_packet()
Dnf_conntrack_ftp.c90 [IP_CT_DIR_REPLY] = {
556 ftp->flags[IP_CT_DIR_REPLY] |= NF_CT_FTP_SEQ_PICKUP; in nf_ct_ftp_from_nlattr()
Dnft_ct.c47 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()
Dnf_conntrack_irc.c128 if (dir == IP_CT_DIR_REPLY) in help()
Dnf_conntrack_proto_gre.c105 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); in nf_ct_gre_keymap_add()
/linux-6.6.21/include/uapi/linux/netfilter/
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-6.6.21/net/netfilter/ipvs/
Dip_vs_nfct.c104 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-6.6.21/include/linux/netfilter/
Dnf_conntrack_zones_common.h10 #define NF_CT_ZONE_DIR_REPL (1 << IP_CT_DIR_REPLY)
/linux-6.6.21/net/ipv4/netfilter/
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()
Dnf_nat_snmp_basic_main.c170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) in help()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_bpf_nf.c179 tuple = &ct_lk->tuplehash[IP_CT_DIR_REPLY].tuple; in nf_ct_test()
/linux-6.6.21/include/net/netfilter/
Dnf_flow_table.h95 FLOW_OFFLOAD_DIR_REPLY = IP_CT_DIR_REPLY,

12