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