Searched refs:ipinfo (Results 1 – 1 of 1) sorted by relevance
/net/ipv4/netfilter/ |
D | ip_tables.c | 48 const struct ipt_ip *ipinfo, in ip_packet_match() argument 53 if (NF_INVF(ipinfo, IPT_INV_SRCIP, in ip_packet_match() 54 (ip->saddr & ipinfo->smsk.s_addr) != ipinfo->src.s_addr) || in ip_packet_match() 55 NF_INVF(ipinfo, IPT_INV_DSTIP, in ip_packet_match() 56 (ip->daddr & ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr)) in ip_packet_match() 59 ret = ifname_compare_aligned(indev, ipinfo->iniface, ipinfo->iniface_mask); in ip_packet_match() 61 if (NF_INVF(ipinfo, IPT_INV_VIA_IN, ret != 0)) in ip_packet_match() 64 ret = ifname_compare_aligned(outdev, ipinfo->outiface, ipinfo->outiface_mask); in ip_packet_match() 66 if (NF_INVF(ipinfo, IPT_INV_VIA_OUT, ret != 0)) in ip_packet_match() 70 if (ipinfo->proto && in ip_packet_match() [all …]
|