/external/dhcpcd/ |
if-options.c | 128 add_environ(struct if_options *ifo, const char *value, int uniq) 131 char **lst = ifo->environ; 164 ifo->environ = newlist; 327 parse_option(struct if_options *ifo, int opt, const char *arg) 345 ifo->options |= DHCPCD_BACKGROUND; 348 strlcpy(ifo->script, arg, sizeof(ifo->script)); 351 ifo->options |= DHCPCD_DEBUG; 354 add_environ(ifo, arg, 1); 358 s = parse_string(ifo->hostname 774 struct if_options *ifo; local [all...] |
dhcpcd.c | 294 struct if_options *ifo = state->options; local 329 (!(ifo->options & DHCPCD_INFORM) && is_bootp(iface->state->new))) 464 blacklisted_ip(const struct if_options *ifo, in_addr_t addr) 468 for (i = 0; i < ifo->blacklist_len; i += 2) 469 if (ifo->blacklist[i] == (addr & ifo->blacklist[i + 1])) 475 whitelisted_ip(const struct if_options *ifo, in_addr_t addr) 479 if (ifo->whitelist_len == 0) 481 for (i = 0; i < ifo->whitelist_len; i += 2) 482 if (ifo->whitelist[i] == (addr & ifo->whitelist[i + 1]) 491 struct if_options *ifo = state->options; local 751 struct if_options *ifo = ifs->options; local 829 struct if_options *ifo; local 916 struct if_options *ifo = iface->state->options; local 1001 struct if_options *ifo; local 1023 struct if_options *ifo; local 1056 struct if_options *ifo = iface->state->options; local 1107 struct if_options *ifo = iface->state->options; local 1287 struct if_options *ifo; local 1324 struct if_options *ifo; local 1385 const struct if_options *ifo; local 1466 struct if_options *ifo; local [all...] |
bind.c | 125 struct if_options *ifo = state->options; local 141 if (ifo->options & DHCPCD_STATIC) { 145 lease->net.s_addr = ifo->req_mask.s_addr; 152 } else if (ifo->options & DHCPCD_INFORM) { 153 if (ifo->req_addr.s_addr != 0) 154 lease->addr.s_addr = ifo->req_addr.s_addr; 226 ifo->options &= ~ DHCPCD_CSR_WARNED; 230 if (ifo->options & DHCPCD_ARP) {
|
dhcp.c | 843 const struct if_options *ifo = iface->state->options; local 872 if (ifo->options & DHCPCD_BROADCAST && 921 if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST) 922 PUTADDR(DHO_IPADDRESS, ifo->req_addr); 944 if (ifo->userclass[0]) { 946 memcpy(p, ifo->userclass, ifo->userclass[0] + 1); 947 p += ifo->userclass[0] + 1; 950 if (ifo->vendorclassid[0]) { 952 memcpy(p, ifo->vendorclassid [all...] |
configure.c | 170 const struct if_options *ifo = iface->state->options; local 231 e = configure_env(NULL, NULL, iface->state->old, ifo); 235 iface->state->old, ifo); 238 (const char *const *)ifo->config); 241 e = configure_env(NULL, NULL, iface->state->new, ifo); 245 iface->state->new, ifo); 248 (const char *const *)ifo->config); 252 if (ifo->environ) { 254 while (ifo->environ[e++]) 258 while (ifo->environ[e]) 699 struct if_options *ifo; local 722 struct if_options *ifo = iface->state->options; local [all...] |