Lines Matching refs:is_same_net
376 (is_same_net(local, context->start, netmask) || in complete_context()
377 is_same_net(local, context->end, netmask))) in complete_context()
380 !(is_same_net(local, context->start, netmask) && in complete_context()
381 is_same_net(local, context->end, netmask))) in complete_context()
393 if (is_same_net(local, context->start, context->netmask) && in complete_context()
394 is_same_net(local, context->end, context->netmask)) in complete_context()
407 if (is_same_net(broadcast, context->start, context->netmask)) in complete_context()
413 else if (param->relay.s_addr && is_same_net(param->relay, context->start, context->netmask)) in complete_context()
475 if (is_same_net(taddr, tmp->start, tmp->netmask) && in narrow_context()
481 if (is_same_net(taddr, tmp->start, tmp->netmask)) in narrow_context()
642 if (is_same_net(config->addr, context->start, context->netmask)) in is_addr_in_context()