Searched refs:is_same_net (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 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() [all …]
|
D | rfc2131.c | 290 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()
|
D | util.c | 287 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask) { in is_same_net() function
|
D | rfc1035.c | 453 if (!is_same_net(doctor->in, addr, doctor->mask)) continue; in do_doctor() 1174 is_same_net(*((struct in_addr*) &crecp->addr), local_addr, in answer_request() 1211 !is_same_net(*((struct in_addr*) &crecp->addr), local_addr, in answer_request()
|
D | dnsmasq.h | 695 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask);
|
D | option.c | 1525 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()
|