• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dnsmasq-2.15/src/

Lines Matching defs:netid

73 				     struct dhcp_netid *netid,
96 struct dhcp_netid *netid = NULL;
153 Note that if netmasks, netid or lease times don't match, odd things may happen. */
163 /* start to build netid chain */
164 if (context_tmp->netid.net)
166 context_tmp->netid.next = netid;
167 netid = &context_tmp->netid;
198 config->netid.next = netid;
199 netid = &config->netid;
201 /* Match incoming filename field as a netid. */
206 id.next = netid;
207 netid = &id;
210 hostname, iface_addr, netid, subnet_addr);
279 config->netid.next = netid;
280 netid = &config->netid;
284 vendor/user option twice and make a loop in the netid chain. */
297 vendor->netid.next = netid;
298 netid = &vendor->netid;
316 vendor->netid.next = netid;
317 netid = &vendor->netid;
450 NULL, iface_addr, netid, subnet_addr);
567 hostname, iface_addr, netid, subnet_addr);
583 hostname, iface_addr, netid, subnet_addr);
758 static struct dhcp_opt *option_find2(struct dhcp_netid *netid, struct dhcp_opt *opts, int opt)
766 if (netid)
768 if (tmp->netid)
769 for (tmp1 = netid; tmp1; tmp1 = tmp1->next)
770 if (strcmp(tmp->netid, tmp1->net) == 0)
773 else if (!tmp->netid)
777 return netid ? option_find2(NULL, opts, opt) : NULL;
786 struct dhcp_netid *netid,
799 !option_find2(netid, config_opts, OPTION_NETMASK))
806 !option_find2(netid, config_opts, OPTION_BROADCAST))
813 !option_find2(netid, config_opts, OPTION_ROUTER))
817 !option_find2(netid, config_opts, OPTION_DNSSERVER))
821 !option_find2(netid, config_opts, OPTION_DOMAINNAME))
834 opt != option_find2(netid, config_opts, opt->opt) ||