Searched refs:IP_CT_DIR_ORIGINAL (Results 1 – 14 of 14) sorted by relevance
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_conntrack.c | 37 if(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip != in match() 41 if(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip != in match() 51 …if (!ct || FWINV(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum != sinfo->tuple[IP_CT_DIR_OR… in match() 56 … FWINV((ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip&sinfo->sipmsk[IP_CT_DIR_ORIGINAL].s_addr) !… in match() 61 … FWINV((ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip&sinfo->dipmsk[IP_CT_DIR_ORIGINAL].s_addr) !… in match()
|
D | ip_nat_ftp.c | 52 newdstip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in ftp_nat_expected() 53 newsrcip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in ftp_nat_expected() 180 newip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in ftp_data_fixup() 183 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in ftp_data_fixup() 185 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in ftp_data_fixup() 237 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help() 240 dir == IP_CT_DIR_ORIGINAL ? "ORIG" : "REPLY", in help()
|
D | ip_conntrack_core.c | 299 ho = hash_conntrack(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in clean_from_lists() 301 LIST_DELETE(&ip_conntrack_hash[ho], &ct->tuplehash[IP_CT_DIR_ORIGINAL]); in clean_from_lists() 335 BUG_ON(list_empty(&ct->tuplehash[IP_CT_DIR_ORIGINAL].list)); in destroy_conntrack() 336 list_del(&ct->tuplehash[IP_CT_DIR_ORIGINAL].list); in destroy_conntrack() 445 if (CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in __ip_conntrack_confirm() 448 hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in __ip_conntrack_confirm() 468 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, NULL) in __ip_conntrack_confirm() 474 list_del(&ct->tuplehash[IP_CT_DIR_ORIGINAL].list); in __ip_conntrack_confirm() 477 &ct->tuplehash[IP_CT_DIR_ORIGINAL]); in __ip_conntrack_confirm() 695 conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple = *tuple; in init_conntrack() [all …]
|
D | ip_nat_core.c | 78 hs = hash_by_src(&conn->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src, in ip_nat_cleanup_conntrack() 79 conn->tuplehash[IP_CT_DIR_ORIGINAL] in ip_nat_cleanup_conntrack() 173 return (i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum in src_cmp() 175 && i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip in src_cmp() 177 && i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all in src_cmp() 180 &i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL] in src_cmp() 196 return &i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src; in find_appropriate_src() 597 { IP_CT_DIR_ORIGINAL, hooknum, in ip_nat_setup_info() 615 { IP_CT_DIR_ORIGINAL, hooknum, in ip_nat_setup_info() 651 = hash_by_src(&conntrack->tuplehash[IP_CT_DIR_ORIGINAL] in replace_in_hashes() [all …]
|
D | ip_nat_irc.c | 69 newdstip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in irc_nat_expected() 70 newsrcip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in irc_nat_expected() 168 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help() 171 dir == IP_CT_DIR_ORIGINAL ? "ORIG" : "REPLY", in help()
|
D | ip_conntrack_amanda.c | 62 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) in help() 92 exp.tuple.src.ip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in help() 93 exp.tuple.dst.ip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in help()
|
D | ip_nat_tftp.c | 65 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in tftp_nat_help() 80 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in tftp_nat_help() 102 &master->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in tftp_nat_expected()
|
D | ip_conntrack_standalone.c | 44 return (i->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum == in kill_proto() 87 = __ip_ct_find_proto(conntrack->tuplehash[IP_CT_DIR_ORIGINAL] in print_conntrack() 92 conntrack->tuplehash[IP_CT_DIR_ORIGINAL] in print_conntrack() 99 &conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in print_conntrack()
|
D | ip_nat_amanda.c | 82 t.dst.ip = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in amanda_data_fixup() 110 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help()
|
D | ip_nat_snmp_basic.c | 1235 if (dir == IP_CT_DIR_ORIGINAL) { in snmp_translate() 1237 map.from = NOCT1(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip); in snmp_translate() 1242 map.to = NOCT1(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip); in snmp_translate() 1278 (dir == IP_CT_DIR_ORIGINAL && hooknum == NF_IP_POST_ROUTING && in nat_help() 1295 NIPQUAD(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip), in nat_help() 1296 NIPQUAD(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip), in nat_help()
|
D | ip_conntrack_tftp.c | 51 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in tftp_help()
|
D | ip_conntrack_ftp.c | 47 IP_CT_DIR_ORIGINAL, 59 IP_CT_DIR_ORIGINAL,
|
D | ip_conntrack_proto_tcp.c | 208 && CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL in tcp_packet()
|
/linux-2.4.37.9/include/linux/netfilter_ipv4/ |
D | ip_conntrack_tuple.h | 75 IP_CT_DIR_ORIGINAL, enumerator 88 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
|