/Linux-v6.1/net/netfilter/ |
D | xt_connbytes.c | 45 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt() 51 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt() 59 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt() 65 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt() 73 bytes = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt() 74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt() 81 bytes = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes) + in connbytes_mt() 83 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + in connbytes_mt()
|
D | nf_conntrack_core.c | 321 tuple->dst.dir = IP_CT_DIR_ORIGINAL; in nf_ct_get_tuple() 507 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id() 508 sizeof(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple), in nf_ct_get_id() 522 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in clean_from_lists() 624 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in __nf_ct_delete_from_lists() 625 nf_ct_zone_id(nf_ct_zone(ct), IP_CT_DIR_ORIGINAL)); in __nf_ct_delete_from_lists() 651 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode, in nf_ct_add_to_ecache_list() 718 return nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_match() 719 &ct2->tuplehash[IP_CT_DIR_ORIGINAL].tuple) && in nf_ct_match() 722 nf_ct_zone_equal(ct1, nf_ct_zone(ct2), IP_CT_DIR_ORIGINAL) && in nf_ct_match() [all …]
|
D | xt_conntrack.c | 44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc() 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check() 125 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check_v3() 194 (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) ^ in conntrack_mt()
|
D | xt_cluster.c | 18 return (__force u32)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip; in nf_ct_orig_ipv4_src() 23 return (__force u32 *)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip6; in nf_ct_orig_ipv6_src()
|
D | nf_conntrack_proto_dccp.c | 409 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT; in dccp_new() 413 ct->proto.dccp.last_dir = IP_CT_DIR_ORIGINAL; in dccp_new() 608 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL]) || in dccp_to_nlattr() 661 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT; in nlattr_to_dccp() 664 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_SERVER; in nlattr_to_dccp()
|
D | nf_conntrack_sane.c | 93 if (dir == IP_CT_DIR_ORIGINAL) { in help() 151 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in help()
|
D | nf_conntrack_amanda.c | 104 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) in amanda_help() 152 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in amanda_help()
|
D | nf_synproxy_core.c | 564 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); in synproxy_send_server_ack() 672 if (th->rst && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { in ipv4_synproxy_hook() 679 CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in ipv4_synproxy_hook() 695 CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) { in ipv4_synproxy_hook() 978 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); in synproxy_send_server_ack_ipv6() 1095 if (th->rst && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { in ipv6_synproxy_hook() 1102 CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in ipv6_synproxy_hook() 1118 CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) { in ipv6_synproxy_hook()
|
D | nf_nat_tftp.c | 30 = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; in help()
|
D | nf_conntrack_pptp.c | 170 memcpy(&t, &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, sizeof(t)); in pptp_destroy_siblings() 203 dir = IP_CT_DIR_ORIGINAL; in exp_gre() 229 if (nf_ct_gre_keymap_add(ct, IP_CT_DIR_ORIGINAL, &exp_orig->tuple) != 0) in exp_gre() 568 if (dir == IP_CT_DIR_ORIGINAL) in conntrack_pptp_help()
|
D | nf_conntrack_proto.c | 288 sin.sin_port = ct->tuplehash[IP_CT_DIR_ORIGINAL] in getorigdst() 290 sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL] in getorigdst() 357 sin6.sin6_port = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u.tcp.port; in ipv6_getorigdst() 360 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in ipv6_getorigdst()
|
D | nf_nat_amanda.c | 40 exp->dir = IP_CT_DIR_ORIGINAL; in help()
|
D | nf_conntrack_proto_sctp.c | 283 new_state = sctp_new_state(IP_CT_DIR_ORIGINAL, in sctp_new() 312 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 571 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL]) || in sctp_to_nlattr() 620 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = in nlattr_to_sctp()
|
D | nf_conntrack_broadcast.c | 36 if (CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in nf_conntrack_broadcast_help()
|
D | nf_nat_core.c | 135 if (dir == IP_CT_DIR_ORIGINAL) in __nf_nat_decode_session() 268 t = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in same_src() 288 nf_ct_zone_equal(ct, zone, IP_CT_DIR_ORIGINAL)) { in find_appropriate_src() 630 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in nf_nat_setup_info() 808 h = hash_by_src(nf_ct_net(ct), nf_ct_zone(ct), &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in nf_nat_cleanup_conntrack()
|
D | nf_nat_sip.c | 342 pair_exp->tuple.dst.protonum == ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum && in nf_nat_sip_expected() 343 nf_inet_addr_cmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, &pair_exp->saved_addr) && in nf_nat_sip_expected() 344 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all == pair_exp->saved_proto.all) { in nf_nat_sip_expected() 360 nf_inet_addr_cmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in nf_nat_sip_expected()
|
D | nf_conntrack_tftp.c | 61 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in tftp_help()
|
/Linux-v6.1/include/uapi/linux/netfilter/ |
D | nf_conntrack_tuple_common.h | 12 IP_CT_DIR_ORIGINAL, enumerator 44 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
|
/Linux-v6.1/net/ipv4/netfilter/ |
D | nf_socket_ipv4.c | 139 daddr = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip; in nf_sk_lookup_slow_v4() 141 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.tcp.port : in nf_sk_lookup_slow_v4() 142 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; in nf_sk_lookup_slow_v4()
|
D | nf_nat_pptp.c | 63 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected() 101 if (exp->dir == IP_CT_DIR_ORIGINAL) { in pptp_nat_expected() 220 expect_orig->dir = IP_CT_DIR_ORIGINAL; in pptp_exp_gre()
|
D | nf_nat_snmp_basic_main.c | 135 if (dir == IP_CT_DIR_ORIGINAL) { in snmp_translate() 172 if (udph->dest == htons(SNMP_TRAP_PORT) && dir != IP_CT_DIR_ORIGINAL) in help()
|
/Linux-v6.1/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 90 if (CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in ip_vs_update_conntrack() 157 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ip_vs_nfct_expect_callback() 252 .dst = { .protonum = cp->protocol, .dir = IP_CT_DIR_ORIGINAL } }; in ip_vs_conn_drop_conntrack()
|
/Linux-v6.1/include/linux/netfilter/ |
D | nf_conntrack_zones_common.h | 9 #define NF_CT_ZONE_DIR_ORIG (1 << IP_CT_DIR_ORIGINAL)
|
/Linux-v6.1/include/net/netfilter/ |
D | nf_conntrack.h | 137 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num() 142 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; in nf_ct_protonum()
|
D | nf_nat.h | 64 CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL && in nf_nat_oif_changed()
|