Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_tables.c124 const struct ipt_ip *ipinfo, in ip_packet_match() argument
130 #define FWINV(bool,invflg) ((bool) ^ !!(ipinfo->invflags & invflg)) in ip_packet_match()
132 if (FWINV((ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr, in ip_packet_match()
134 || FWINV((ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, in ip_packet_match()
140 NIPQUAD(ipinfo->smsk.s_addr), in ip_packet_match()
141 NIPQUAD(ipinfo->src.s_addr), in ip_packet_match()
142 ipinfo->invflags & IPT_INV_SRCIP ? " (INV)" : ""); in ip_packet_match()
145 NIPQUAD(ipinfo->dmsk.s_addr), in ip_packet_match()
146 NIPQUAD(ipinfo->dst.s_addr), in ip_packet_match()
147 ipinfo->invflags & IPT_INV_DSTIP ? " (INV)" : ""); in ip_packet_match()
[all …]