Home
last modified time | relevance | path

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

/curl/docs/examples/
H A Dblock_ip.c87 int maskbits; member
137 ip->maskbits = atoi(cidr + 1); in ip_list_append()
138 if(ip->maskbits <= 0 || in ip_list_append()
140 (ip->family == AF_INET6 && ip->maskbits > 128) || in ip_list_append()
142 (ip->family == AF_INET && ip->maskbits > 32)) { in ip_list_append()
151 ip->maskbits = 32; in ip_list_append()
154 ip->maskbits = 128; in ip_list_append()
201 for(bytes = ip->maskbits / 8; bytes; --bytes) { in ip_match()
206 tailbits = ip->maskbits % 8; in ip_match()

Completed in 3 milliseconds