/external/dhcpcd/ |
if-options.c | 132 add_environ(struct if_options *ifo, const char *value, int uniq) 135 char **lst = ifo->environ; 168 ifo->environ = newlist; 331 parse_option(struct if_options *ifo, int opt, const char *arg) 349 ifo->options |= DHCPCD_BACKGROUND; 352 strlcpy(ifo->script, arg, sizeof(ifo->script)); 355 ifo->options |= DHCPCD_DEBUG; 358 add_environ(ifo, arg, 1); 362 s = parse_string(ifo->hostname 789 struct if_options *ifo; local [all...] |
dhcpcd.c | 310 struct if_options *ifo = state->options; local 345 (!(ifo->options & DHCPCD_INFORM) && is_bootp(iface->state->new))) 480 blacklisted_ip(const struct if_options *ifo, in_addr_t addr) 484 for (i = 0; i < ifo->blacklist_len; i += 2) 485 if (ifo->blacklist[i] == (addr & ifo->blacklist[i + 1])) 491 whitelisted_ip(const struct if_options *ifo, in_addr_t addr) 495 if (ifo->whitelist_len == 0) 497 for (i = 0; i < ifo->whitelist_len; i += 2) 498 if (ifo->whitelist[i] == (addr & ifo->whitelist[i + 1]) 507 struct if_options *ifo = state->options; local 777 struct if_options *ifo = ifs->options; local 857 struct if_options *ifo; local 960 struct if_options *ifo = iface->state->options; local 1061 struct if_options *ifo; local 1083 struct if_options *ifo; local 1116 struct if_options *ifo = iface->state->options; local 1167 struct if_options *ifo = iface->state->options; local 1351 struct if_options *ifo; local 1388 struct if_options *ifo; local 1450 const struct if_options *ifo; local 1512 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 | 919 const struct if_options *ifo = iface->state->options; local 948 if (ifo->options & DHCPCD_BROADCAST && 997 if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST) 998 PUTADDR(DHO_IPADDRESS, ifo->req_addr); 1020 if (ifo->userclass[0]) { 1022 memcpy(p, ifo->userclass, ifo->userclass[0] + 1); 1023 p += ifo->userclass[0] + 1; 1026 if (ifo->vendorclassid[0]) { 1028 memcpy(p, ifo->vendorclassid [all...] |
configure.c | 170 const struct if_options *ifo = iface->state->options; local 254 e = configure_env(NULL, NULL, iface->state->old, ifo); 258 iface->state->old, ifo); 261 (const char *const *)ifo->config); 266 e = configure_env(NULL, NULL, iface->state->new, ifo); 270 iface->state->new, ifo); 273 (const char *const *)ifo->config); 284 if (ifo->environ) { 286 while (ifo->environ[e++]) 290 while (ifo->environ[e]) 756 struct if_options *ifo; local 779 struct if_options *ifo = iface->state->options; local [all...] |