Searched refs:IP_CT_DIR_REPLY (Results 1 - 25 of 44) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_conntrack.c34 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip)
38 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip)
62 if (!ct || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip&sinfo->sipmsk[IP_CT_DIR_REPLY].s_addr) != sinfo->tuple[IP_CT_DIR_REPLY].src.ip, IPT_CONNTRACK_REPLSRC))
67 if (!ct || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip&sinfo->dipmsk[IP_CT_DIR_REPLY].s_addr) != sinfo->tuple[IP_CT_DIR_REPLY].dst.ip, IPT_CONNTRACK_REPLDST))
H A Dip_nat_h323.c89 DUMP_TUPLE(&master->tuplehash[IP_CT_DIR_REPLY].tuple);
100 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
101 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
160 between(info->seq[IP_CT_DIR_REPLY], ntohl(tcph->seq), ntohl(tcph->seq) + datalen)
163 || between(info->seq[IP_CT_DIR_REPLY], ntohl(tcph->seq), ntohl(tcph->seq) + datalen)))
168 info->offset[IP_CT_DIR_REPLY],
171 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
245 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
261 if (info->dir == IP_CT_DIR_REPLY) {
269 newip = ct->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_nat_pptp.c96 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.gre.key =
98 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
104 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.gre.key =
113 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
178 new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port;
265 reply_t = &ct->tuplehash[IP_CT_DIR_REPLY].tuple;
302 t.src.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
305 t.dst.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
383 && dir == IP_CT_DIR_REPLY))) {
H A Dip_nat_ftp.c57 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
58 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
195 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
198 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
200 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
245 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) {
H A Dip_nat_starcraft.c78 dir == IP_CT_DIR_REPLY ? "reply" : "orig", hooknum,
85 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip),
86 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip));
225 dir == IP_CT_DIR_REPLY ? "reply" : "orig", hooknum,
232 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip),
233 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip));
H A Dip_nat_core.c84 [hash_by_ipsproto(conn->tuplehash[IP_CT_DIR_REPLY]
86 conn->tuplehash[IP_CT_DIR_REPLY]
88 conn->tuplehash[IP_CT_DIR_REPLY]
232 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip == dst
233 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip == src
234 && (i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum
530 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple);
573 { IP_CT_DIR_REPLY, opposite_hook[hooknum],
591 { IP_CT_DIR_REPLY, opposite_hook[hooknum],
618 = hash_by_ipsproto(conntrack->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_conntrack_standalone.c105 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple,
233 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple,
246 conntrack->tuplehash[IP_CT_DIR_REPLY].track.number,
247 conntrack->tuplehash[IP_CT_DIR_REPLY].track.length
248 [(conntrack->tuplehash[IP_CT_DIR_REPLY].track.number-1) % IP_TRACK_MAX],
249 conntrack->tuplehash[IP_CT_DIR_REPLY].track.flag);
H A Dip_conntrack_tftp.c47 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
50 exp.tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
H A Dip_nat_tftp.c61 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY)))
73 repl = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
76 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
H A Dip_conntrack_core.c310 [hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)],
311 &ct->tuplehash[IP_CT_DIR_REPLY]);
333 proto = ip_ct_find_proto(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum);
444 repl_hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
467 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, NULL)) {
473 &ct->tuplehash[IP_CT_DIR_REPLY]);
582 if (DIRECTION(h) != IP_CT_DIR_REPLY)
585 if (DIRECTION(h) == IP_CT_DIR_REPLY)
687 conntrack->tuplehash[IP_CT_DIR_REPLY].tuple = repl_tuple;
688 conntrack->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_nat_irc.c108 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
174 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) {
H A Dip_nat_rule.c241 ? conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip
242 : conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_conntrack.c34 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip)
38 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip)
62 if (!ct || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip&sinfo->sipmsk[IP_CT_DIR_REPLY].s_addr) != sinfo->tuple[IP_CT_DIR_REPLY].src.ip, IPT_CONNTRACK_REPLSRC))
67 if (!ct || FWINV((ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip&sinfo->dipmsk[IP_CT_DIR_REPLY].s_addr) != sinfo->tuple[IP_CT_DIR_REPLY].dst.ip, IPT_CONNTRACK_REPLDST))
H A Dip_nat_h323.c89 DUMP_TUPLE(&master->tuplehash[IP_CT_DIR_REPLY].tuple);
100 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
101 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
160 between(info->seq[IP_CT_DIR_REPLY], ntohl(tcph->seq), ntohl(tcph->seq) + datalen)
163 || between(info->seq[IP_CT_DIR_REPLY], ntohl(tcph->seq), ntohl(tcph->seq) + datalen)))
168 info->offset[IP_CT_DIR_REPLY],
171 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
245 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
261 if (info->dir == IP_CT_DIR_REPLY) {
269 newip = ct->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_nat_pptp.c77 // ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u.gre.key =
79 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.gre.key =
86 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.gre.key =
105 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
247 t.dst.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
258 t.src.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
259 t.dst.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
275 t.src.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
278 t.dst.ip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
349 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) {
[all...]
H A Dip_nat_ftp.c57 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
58 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
195 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
198 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip;
200 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
245 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) {
H A Dip_nat_core.c84 [hash_by_ipsproto(conn->tuplehash[IP_CT_DIR_REPLY]
86 conn->tuplehash[IP_CT_DIR_REPLY]
88 conn->tuplehash[IP_CT_DIR_REPLY]
232 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip == dst
233 && i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip == src
234 && (i->conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum
530 &conntrack->tuplehash[IP_CT_DIR_REPLY].tuple);
573 { IP_CT_DIR_REPLY, opposite_hook[hooknum],
591 { IP_CT_DIR_REPLY, opposite_hook[hooknum],
618 = hash_by_ipsproto(conntrack->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_conntrack_tftp.c47 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
50 exp.tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
H A Dip_nat_tftp.c61 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY)))
73 repl = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
76 DUMP_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
H A Dip_conntrack_core.c299 [hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)],
300 &ct->tuplehash[IP_CT_DIR_REPLY]);
322 proto = ip_ct_find_proto(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum);
433 repl_hash = hash_conntrack(&ct->tuplehash[IP_CT_DIR_REPLY].tuple);
456 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, NULL)) {
460 &ct->tuplehash[IP_CT_DIR_REPLY]);
568 if (DIRECTION(h) != IP_CT_DIR_REPLY)
571 if (DIRECTION(h) == IP_CT_DIR_REPLY)
673 conntrack->tuplehash[IP_CT_DIR_REPLY].tuple = repl_tuple;
674 conntrack->tuplehash[IP_CT_DIR_REPLY]
[all...]
H A Dip_nat_irc.c108 newip = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip;
174 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) {
H A Dip_nat_rule.c241 ? conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip
242 : conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip);
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibipt_conntrack.c259 &sinfo->sipmsk[IP_CT_DIR_REPLY],
266 sinfo->tuple[IP_CT_DIR_REPLY].src.ip = addrs[0].s_addr;
279 &sinfo->dipmsk[IP_CT_DIR_REPLY],
286 sinfo->tuple[IP_CT_DIR_REPLY].dst.ip = addrs[0].s_addr;
440 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_REPLY].src.ip,
441 &sinfo->sipmsk[IP_CT_DIR_REPLY],
450 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_REPLY].dst.ip,
451 &sinfo->dipmsk[IP_CT_DIR_REPLY],
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dip_conntrack_tuple.h76 IP_CT_DIR_REPLY, enumerator in enum:ip_conntrack_dir
94 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dip_conntrack_tuple.h76 IP_CT_DIR_REPLY, enumerator in enum:ip_conntrack_dir
94 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)

Completed in 84 milliseconds

12