Home
last modified time | relevance | path

Searched refs:min_ip (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_core.c151 if (ntohl(newtuple.src.ip) < ntohl(mr->range[i].min_ip) in in_range()
302 minip = ntohl(mr->range[i].min_ip); in find_best_ips_proto()
362 && mr->range[0].min_ip != mr->range[0].max_ip)) in find_best_ips_proto_fast()
367 tuple->src.ip = mr->range[0].min_ip; in find_best_ips_proto_fast()
371 if (tuple->dst.ip != mr->range[0].min_ip in find_best_ips_proto_fast()
373 && !do_extra_mangle(mr->range[0].min_ip, in find_best_ips_proto_fast()
376 tuple->dst.ip = mr->range[0].min_ip; in find_best_ips_proto_fast()
546 NIPQUAD(mr->range[i].min_ip), in ip_nat_setup_info()
Dip_nat_tftp.c119 mr.range[0].min_ip = mr.range[0].max_ip = orig->dst.ip; in tftp_nat_expected()
126 mr.range[0].min_ip = mr.range[0].max_ip = orig->src.ip; in tftp_nat_expected()
Dip_nat_amanda.c57 mr.range[0].min_ip = mr.range[0].max_ip = newip; in amanda_nat_expected()
Dip_nat_irc.c84 mr.range[0].min_ip = mr.range[0].max_ip = newip; in irc_nat_expected()
Dip_nat_ftp.c74 mr.range[0].min_ip = mr.range[0].max_ip = newip; in ftp_nat_expected()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_nat.h43 u_int32_t min_ip, max_ip; member