Lines Matching refs:maskaddr
1252 uint32_t maskaddr, bits; in xtables_ipmask_to_cidr() local
1255 maskaddr = ntohl(mask->s_addr); in xtables_ipmask_to_cidr()
1257 if (maskaddr == 0xFFFFFFFFL) in xtables_ipmask_to_cidr()
1262 while (--i >= 0 && maskaddr != bits) in xtables_ipmask_to_cidr()
1412 static struct in_addr maskaddr; in parse_ipmask() local
1418 maskaddr.s_addr = 0xFFFFFFFF; in parse_ipmask()
1419 return &maskaddr; in parse_ipmask()
1428 maskaddr.s_addr = htonl(0xFFFFFFFF << (32 - bits)); in parse_ipmask()
1429 return &maskaddr; in parse_ipmask()
1432 maskaddr.s_addr = 0U; in parse_ipmask()
1433 return &maskaddr; in parse_ipmask()
1712 static struct in6_addr maskaddr; in parse_ip6mask() local
1718 memset(&maskaddr, 0xff, sizeof maskaddr); in parse_ip6mask()
1719 return &maskaddr; in parse_ip6mask()
1727 char *p = (void *)&maskaddr; in parse_ip6mask()
1732 return &maskaddr; in parse_ip6mask()
1735 memset(&maskaddr, 0, sizeof(maskaddr)); in parse_ip6mask()
1736 return &maskaddr; in parse_ip6mask()