Home
last modified time | relevance | path

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

/curl/docs/examples/
H A Dblock_ip.c88 int maskbits; member
138 ip->maskbits = atoi(cidr + 1); in ip_list_append()
139 if(ip->maskbits <= 0 || in ip_list_append()
141 (ip->family == AF_INET6 && ip->maskbits > 128) || in ip_list_append()
143 (ip->family == AF_INET && ip->maskbits > 32)) { in ip_list_append()
152 ip->maskbits = 32; in ip_list_append()
155 ip->maskbits = 128; in ip_list_append()
202 for(bytes = ip->maskbits / 8; bytes; --bytes) { in ip_match()
207 tailbits = ip->maskbits % 8; in ip_match()

Completed in 5 milliseconds