Lines Matching refs:net
67 if(n1->net < n2->net) in addr_tree_compare()
69 if(n1->net > n2->net) in addr_tree_compare()
110 struct sockaddr_storage* addr, socklen_t addrlen, int net) in addr_tree_insert() argument
115 node->net = net; in addr_tree_insert()
131 m = addr_in_common(&prev->addr, prev->net, &node->addr, in addr_tree_init_parents_node()
132 node->net, node->addrlen); in addr_tree_init_parents_node()
136 if(p->net <= m) { in addr_tree_init_parents_node()
232 key.net = (addr_is_ip6(addr, addrlen)?128:32); in addr_tree_lookup()
243 m = addr_in_common(&result->addr, result->net, addr, in addr_tree_lookup()
244 key.net, addrlen); in addr_tree_lookup()
246 if(result->net <= m) in addr_tree_lookup()
255 struct sockaddr_storage* addr, socklen_t addrlen, int net) in addr_tree_find() argument
262 key.net = net; in addr_tree_find()