Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddhcp.c280 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()
[all …]
Drfc2131.c290 is_same_net(addr, context_tmp->start, context_tmp->netmask) && in dhcp_reply()
291 is_same_net(addr, context_tmp->end, context_tmp->netmask)) { in dhcp_reply()
300 is_same_net(addr, context_tmp->start, context_tmp->netmask) && in dhcp_reply()
301 is_same_net(addr, context_tmp->end, context_tmp->netmask)) { in dhcp_reply()
1007 is_same_net(context->local, mess->ciaddr, context->netmask)) { in dhcp_reply()
Dutil.c280 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask) { in is_same_net() function
Drfc1035.c453 if (!is_same_net(doctor->in, addr, doctor->mask)) continue; in do_doctor()
1152 is_same_net(*((struct in_addr*) &crecp->addr), local_addr, in answer_request()
1189 !is_same_net(*((struct in_addr*) &crecp->addr), local_addr, in answer_request()
Ddnsmasq.h695 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask);
Doption.c1525 if (!is_same_net(new->start, new->end, new->netmask)) in one_opt()
2001 !is_same_net(new->in, new->end, new->mask) || in one_opt()