Lines Matching refs:dnsaddr
362 if (ipcp_allowoptions[0].dnsaddr[1] == 0)
363 ipcp_allowoptions[0].dnsaddr[0] = dns;
365 ipcp_allowoptions[0].dnsaddr[0] = ipcp_allowoptions[0].dnsaddr[1];
368 ipcp_allowoptions[0].dnsaddr[1] = dns;
854 ADDCIDNS(CI_MS_DNS1, go->req_dns1, go->dnsaddr[0]);
856 ADDCIDNS(CI_MS_DNS2, go->req_dns2, go->dnsaddr[1]);
988 ACKCIDNS(CI_MS_DNS1, go->req_dns1, go->dnsaddr[0]);
990 ACKCIDNS(CI_MS_DNS2, go->req_dns2, go->dnsaddr[1]);
1158 try.dnsaddr[0] = cidnsaddr;
1166 try.dnsaddr[1] = cidnsaddr;
1223 try.dnsaddr[0] = htonl(l);
1231 try.dnsaddr[1] = htonl(l);
1344 #define REJCIDNS(opt, neg, dnsaddr) \ argument
1355 if (cilong != dnsaddr) \
1384 REJCIDNS(CI_MS_DNS1, req_dns1, go->dnsaddr[0]);
1386 REJCIDNS(CI_MS_DNS2, req_dns2, go->dnsaddr[1]);
1565 if (ao->dnsaddr[d] == 0 ||
1571 if (htonl(tl) != ao->dnsaddr[d]) {
1573 tl = ntohl(ao->dnsaddr[d]);
1821 go->dnsaddr[0] = 0;
1823 go->dnsaddr[1] = 0;
1824 if (go->dnsaddr[0])
1825 script_setenv("DNS1", ip_ntoa(go->dnsaddr[0]), 0);
1826 if (go->dnsaddr[1])
1827 script_setenv("DNS2", ip_ntoa(go->dnsaddr[1]), 0);
1828 if (usepeerdns && (go->dnsaddr[0] || go->dnsaddr[1])) {
1830 create_resolv(go->dnsaddr[0], go->dnsaddr[1]);
1940 if (go->dnsaddr[0])
1941 notice("primary DNS address %I", go->dnsaddr[0]);
1942 if (go->dnsaddr[1])
1943 notice("secondary DNS address %I", go->dnsaddr[1]);