Searched refs:maskaddr (Results 1 – 1 of 1) sorted by relevance
1221 uint32_t maskaddr, bits; in xtables_ipmask_to_cidr() local1224 maskaddr = ntohl(mask->s_addr); in xtables_ipmask_to_cidr()1226 if (maskaddr == 0xFFFFFFFFL) in xtables_ipmask_to_cidr()1231 while (--i >= 0 && maskaddr != bits) in xtables_ipmask_to_cidr()1374 static struct in_addr maskaddr; in parse_ipmask() local1380 maskaddr.s_addr = 0xFFFFFFFF; in parse_ipmask()1381 return &maskaddr; in parse_ipmask()1390 maskaddr.s_addr = htonl(0xFFFFFFFF << (32 - bits)); in parse_ipmask()1391 return &maskaddr; in parse_ipmask()1394 maskaddr.s_addr = 0U; in parse_ipmask()[all …]