Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_conntrack.c38 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip) in match()
42 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip) in match()
66 …t || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip&sinfo->sipmsk[IP_CT_DIR_REPLY].s_addr) != … in match()
71 …t || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip&sinfo->dipmsk[IP_CT_DIR_REPLY].s_addr) != … in match()
Dip_nat_rule.c234 ? conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip in alloc_null_binding()
235 : conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip); in alloc_null_binding()
251 ? conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip in alloc_null_binding_confirmed()
252 : conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip); in alloc_null_binding_confirmed()
255 ? conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.all in alloc_null_binding_confirmed()
256 : conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.u.all); in alloc_null_binding_confirmed()
Dip_nat_ftp.c58 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip; in ftp_nat_expected()
59 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in ftp_nat_expected()
188 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in ftp_data_fixup()
191 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip; in ftp_data_fixup()
193 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in ftp_data_fixup()
238 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) { in help()
Dip_nat_core.c82 hp = hash_by_ipsproto(conn->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip, in ip_nat_cleanup_conntrack()
83 conn->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip, in ip_nat_cleanup_conntrack()
84 conn->tuplehash[IP_CT_DIR_REPLY] in ip_nat_cleanup_conntrack()
230 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip == dst in fake_cmp()
231 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip == src in fake_cmp()
232 && (i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum in fake_cmp()
526 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple); in ip_nat_setup_info()
605 { IP_CT_DIR_REPLY, opposite_hook[hooknum], in ip_nat_setup_info()
623 { IP_CT_DIR_REPLY, opposite_hook[hooknum], in ip_nat_setup_info()
658 = hash_by_ipsproto(conntrack->tuplehash[IP_CT_DIR_REPLY] in replace_in_hashes()
[all …]
Dip_nat_tftp.c66 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) in tftp_nat_help()
78 repl = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_nat_help()
81 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_nat_help()
106 &master->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_nat_expected()
Dip_nat_amanda.c50 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in amanda_nat_expected()
52 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip; in amanda_nat_expected()
111 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) in help()
Dip_conntrack_core.c300 hr = hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in clean_from_lists()
302 LIST_DELETE(&ip_conntrack_hash[hr], &ct->tuplehash[IP_CT_DIR_REPLY]); in clean_from_lists()
321 proto = ip_ct_find_proto(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum); in destroy_conntrack()
449 repl_hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in __ip_conntrack_confirm()
472 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, NULL)) { in __ip_conntrack_confirm()
479 &ct->tuplehash[IP_CT_DIR_REPLY]); in __ip_conntrack_confirm()
588 if (DIRECTION(h) != IP_CT_DIR_REPLY) in icmp_error_track()
591 if (DIRECTION(h) == IP_CT_DIR_REPLY) in icmp_error_track()
697 conntrack->tuplehash[IP_CT_DIR_REPLY].tuple = repl_tuple; in init_conntrack()
698 conntrack->tuplehash[IP_CT_DIR_REPLY].ctrack = conntrack; in init_conntrack()
[all …]
Dip_conntrack_tftp.c52 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_help()
55 exp.tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
Dip_nat_snmp_basic.c1238 map.to = NOCT1(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip); in snmp_translate()
1241 map.from = NOCT1(ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip); in snmp_translate()
1276 if (!((dir == IP_CT_DIR_REPLY && hooknum == NF_IP_PRE_ROUTING && in nat_help()
1290 dir == IP_CT_DIR_REPLY ? "reply" : "orig", hooknum, in nat_help()
1297 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip), in nat_help()
1298 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip)); in nat_help()
Dip_nat_irc.c108 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in irc_data_fixup()
169 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) { in help()
Dip_conntrack_irc.c129 if (dir == IP_CT_DIR_REPLY) in help()
196 && ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip != htonl(dcc_ip)) { in help()
Dip_conntrack_proto_icmp.c79 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) { in icmp_packet()
Dip_conntrack_ftp.c53 IP_CT_DIR_REPLY,
65 IP_CT_DIR_REPLY,
Dip_fw_compat_masq.c145 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) { in check_for_demasq()
Dip_conntrack_proto_tcp.c192 && CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY in tcp_packet()
Dip_conntrack_standalone.c104 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple, in print_conntrack()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_tuple.h76 IP_CT_DIR_REPLY, enumerator
88 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)