Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dxtables.c1125 uint32_t maskaddr, bits; in xtables_ipmask_to_numeric() local
1128 maskaddr = ntohl(mask->s_addr); in xtables_ipmask_to_numeric()
1130 if (maskaddr == 0xFFFFFFFFL) in xtables_ipmask_to_numeric()
1136 while (--i >= 0 && maskaddr != bits) in xtables_ipmask_to_numeric()
1262 static struct in_addr maskaddr; in parse_ipmask() local
1268 maskaddr.s_addr = 0xFFFFFFFF; in parse_ipmask()
1269 return &maskaddr; in parse_ipmask()
1278 maskaddr.s_addr = htonl(0xFFFFFFFF << (32 - bits)); in parse_ipmask()
1279 return &maskaddr; in parse_ipmask()
1282 maskaddr.s_addr = 0U; in parse_ipmask()
[all …]