Searched refs:is_same_net (Results 1 – 7 of 7) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 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() [all …]
|
D | rfc2131.c | 311 is_same_net(addr, context_tmp->start, context_tmp->netmask) && in dhcp_reply() 312 is_same_net(addr, context_tmp->end, context_tmp->netmask)) in dhcp_reply() 322 is_same_net(addr, context_tmp->start, context_tmp->netmask) && in dhcp_reply() 323 is_same_net(addr, context_tmp->end, context_tmp->netmask)) in dhcp_reply() 1130 mess->ciaddr.s_addr == 0 || is_same_net(context->local, mess->ciaddr, context->netmask)) in dhcp_reply()
|
D | util.c | 324 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask) in is_same_net() function
|
D | rfc1035.c | 560 if (!is_same_net(doctor->in, addr, doctor->mask)) in do_doctor() 1386 is_same_net(*((struct in_addr *)&crecp->addr), local_addr, local_netmask)) in answer_request() 1432 !is_same_net(*((struct in_addr *)&crecp->addr), local_addr, local_netmask)) in answer_request()
|
D | dnsmasq.h | 743 int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask);
|
D | option.c | 1726 if (!is_same_net(new->start, new->end, new->netmask)) in one_opt() 2269 !is_same_net(new->in, new->end, new->mask) || in one_opt()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 176 static int is_same_net(struct in_addr a, struct in_addr b, struct in_addr mask) in is_same_net() function 239 if (addr.s_addr && is_same_net(addr, client, netmask)) in find_interface()
|