Searched refs:newtuple (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_nat_ftp.c | 168 struct ip_conntrack_tuple newtuple; in ftp_data_fixup() local 182 newtuple.src.ip = in ftp_data_fixup() 184 newtuple.dst.ip = in ftp_data_fixup() 190 newtuple.src.ip = in ftp_data_fixup() 192 newtuple.dst.ip = in ftp_data_fixup() 195 newtuple.dst.protonum = IPPROTO_TCP; in ftp_data_fixup() 196 newtuple.src.u.tcp.port = expect->tuple.src.u.tcp.port; in ftp_data_fixup() 200 newtuple.dst.u.tcp.port = htons(port); in ftp_data_fixup() 202 if (ip_conntrack_change_expect(expect, &newtuple) == 0) in ftp_data_fixup()
|
D | ip_nat_core.c | 145 struct ip_conntrack_tuple newtuple = { *manip, tuple->dst }; in in_range() local 151 if (ntohl(newtuple.src.ip) < ntohl(mr->range[i].min_ip) in in_range() 152 || (ntohl(newtuple.src.ip) in in_range() 156 if (newtuple.src.ip != tuple->src.ip) in in_range() 161 && proto->in_range(&newtuple, IP_NAT_MANIP_SRC, in in_range()
|
D | ip_conntrack_core.c | 1078 struct ip_conntrack_tuple *newtuple) in ip_conntrack_change_expect() argument 1088 DEBUGP("newtuple: "); DUMP_TUPLE(newtuple); in ip_conntrack_change_expect() 1092 if (!ip_ct_tuple_equal(&expect->tuple, newtuple) in ip_conntrack_change_expect() 1094 struct ip_conntrack_expect *, newtuple, &expect->mask)) { in ip_conntrack_change_expect() 1099 memcpy(&expect->tuple, newtuple, sizeof(expect->tuple)); in ip_conntrack_change_expect() 1105 if (ip_ct_tuple_equal(&expect->tuple, newtuple)) { in ip_conntrack_change_expect()
|
/linux-2.4.37.9/include/linux/netfilter_ipv4/ |
D | ip_conntrack_helper.h | 42 struct ip_conntrack_tuple *newtuple);
|