Lines Matching refs:is_same_net
280 if (!(context->flags & CONTEXT_NETMASK) && (is_same_net(local, context->start, netmask) || in complete_context()
281 is_same_net(local, context->end, netmask))) { in complete_context()
283 !(is_same_net(local, context->start, netmask) && in complete_context()
284 is_same_net(local, context->end, netmask))) { in complete_context()
295 if (is_same_net(local, context->start, context->netmask) && in complete_context()
296 is_same_net(local, context->end, context->netmask)) { in complete_context()
306 if (is_same_net(broadcast, context->start, context->netmask)) in complete_context()
312 is_same_net(param->relay, context->start, context->netmask)) { in complete_context()
363 if (is_same_net(taddr, tmp->start, tmp->netmask) && (tmp->flags & CONTEXT_STATIC)) in narrow_context()
368 if (is_same_net(taddr, tmp->start, tmp->netmask)) break; in narrow_context()
502 if (is_same_net(config->addr, context->start, context->netmask)) return 1; in is_addr_in_context()