HomeSort by: relevance | last modified time | path
    Searched refs:ifo (Results 1 - 12 of 12) sorted by relevancy

  /src/external/bsd/dhcpcd/dist/src/
if-options.c 60 #define IN_CONFIG_BLOCK(ifo) ((ifo)->options & DHCPCD_FORKED)
61 #define SET_CONFIG_BLOCK(ifo) ((ifo)->options |= DHCPCD_FORKED)
62 #define CLEAR_CONFIG_BLOCK(ifo) ((ifo)->options &= ~DHCPCD_FORKED)
512 set_option_space(struct dhcpcd_ctx *ctx, struct if_options *ifo,
519 pctx->odopts = ifo->nd_override;
520 pctx->odopts_len = ifo->nd_override_len;
521 *pg = &ifo->dhopg_nd
2735 struct if_options *ifo; local
2775 struct if_options *ifo; local
    [all...]
dhcp.c 559 struct if_options *ifo = ifp->options; local
560 struct dho_policy_group *pg = &ifo->dhopg_dhcp;
584 if (!(ifo->options & DHCPCD_CSR_WARNED) &&
588 ifo->options |= DHCPCD_CSR_WARNED;
664 const struct if_options *ifo = ifp->options; local
665 const struct dho_policy_group *pg = &ifo->dhopg_dhcp;
668 if (ifo->mtu)
669 return (uint16_t)ifo->mtu;
802 struct if_options *ifo = ifp->options; local
803 const struct dho_policy_group *pg = &ifo->dhopg_dhcp
1365 const struct if_options *ifo; local
1811 struct if_options *ifo = ifp->options; local
1973 struct if_options *ifo = ifp->options; local
2016 struct if_options *ifo = ifp->options; local
2251 struct if_options *ifo; local
2302 struct if_options *ifo; local
2382 struct if_options *ifo = ifp->options; local
2648 struct if_options *ifo; local
2680 struct if_options *ifo; local
2741 struct if_options *ifo; local
2759 struct if_options *ifo; local
2825 struct if_options *ifo = ifp->options; local
2871 struct if_options *ifo = ifp->options; local
3084 struct if_options *ifo = ifp->options; local
3975 struct if_options *ifo; local
4054 struct if_options *ifo = ifp->options; local
4312 struct if_options *ifo; local
    [all...]
dhcpcd.c 488 struct if_options *ifo = ifp->options; local
495 if (ifo->options & DHCPCD_RELEASE)
496 ifo->options &= ~DHCPCD_PERSISTENT;
499 ifo->options &= ~DHCPCD_ARP;
501 ifo->options &= ~DHCPCD_IPV6RS;
502 if (!(ifo->options & (DHCPCD_INFORM | DHCPCD_WANTDHCP)))
503 ifo->options |= DHCPCD_STATIC;
506 if (ifo->metric != -1)
507 ifp->metric = (unsigned int)ifo->metric;
511 if (ifp->active == IF_ACTIVE_USER && ifo->options & DHCPCD_IPV6 &
630 struct if_options *ifo; local
693 struct if_options *ifo; local
927 struct if_options *ifo = ifp->options; local
1358 struct if_options *ifo; local
1583 struct if_options *ifo; local
2076 struct if_options *ifo; local
    [all...]
dhcp6.c 223 const struct if_options *ifo = ifp->options; local
231 up = ifo->userclass;
267 const struct if_options *ifo; local
273 ifo = ifp->options;
274 if (ifo->vivco_len > 0) {
275 for (i = 0, vivco = ifo->vivco; i < ifo->vivco_len;
279 } else if (ifo->vendorclassid[0] != '\0') {
298 if (ifo->vivco_len > 0) {
299 for (i = 0, vivco = ifo->vivco; i < ifo->vivco_len
339 const struct if_options *ifo = ifp->options; local
707 struct if_options *ifo = ifp->options; local
1696 struct if_options *ifo; local
1746 struct if_options *ifo; local
2432 const struct if_options *ifo; local
2807 struct if_options *ifo; local
2980 struct if_options *ifo; local
3086 struct if_options *ifo; local
3460 const struct if_options *ifo; local
4028 struct if_options *ifo = ifp->options; local
4392 const struct if_options *ifo; local
    [all...]
script.c 235 const struct if_options *ifo; local
296 ifo = ifp->options;
380 ifo->options & DHCPCD_CONFIGURE ? "true" : "false") == -1)
440 if_down = ifo->options & DHCPCD_RELEASE ? true_str : false_str;
501 (const char *const *)ifo->config) == -1)
525 (const char *const *)ifo->config) == -1)
548 if (ifo->environ) {
549 for (i = 0; ifo->environ[i] != NULL; i++)
550 if (efprintf(fp, "%s", ifo->environ[i]) == -1)
ipv4.c 383 struct if_options *ifo; local
429 ifo = ifp->options;
431 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) &&
435 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED;
445 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) &&
449 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED;
746 struct if_options *ifo = ifp->options; local
754 if ((ifo->options & (DHCPCD_EXITING | DHCPCD_PERSISTENT)) !=
dhcp-common.c 50 const struct if_options *ifo)
55 if (ifo->hostname[0] == '\0') {
66 strlcpy(buf, ifo->hostname, buf_len);
75 if (ifo->options & DHCPCD_HOSTNAME_SHORT) {
ipv6nd.c 1019 struct if_options *ifo; local
1109 ifo = ifp->options;
1110 pg = &ifo->dhopg_nd;
ipv6.c 477 const struct if_options *ifo = ifp->options; local
492 if (ifo->options & DHCPCD_SLAACPRIVATE) {
498 } else if (!IN6_IS_ADDR_UNSPECIFIED(&ifo->token)) {
503 *addr = ifo->token;
  /src/usr.bin/rump_dhcpclient/
dhcp.c 546 const struct if_options *ifo = iface->state->options; local
575 if (ifo->options & DHCPCD_BROADCAST &&
624 if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST)
625 PUTADDR(DHO_IPADDRESS, ifo->req_addr);
647 if (ifo->userclass[0]) {
649 memcpy(p, ifo->userclass, ifo->userclass[0] + 1);
650 p += ifo->userclass[0] + 1;
653 if (ifo->vendorclassid[0]) {
655 memcpy(p, ifo->vendorclassid
    [all...]
main.c 232 struct if_options *ifo; local
253 ifp->state->options = ifo = xzalloc(sizeof(*ifp->state->options));
256 hlen = sizeof(ifo->hostname);
257 if (rump_sys___sysctl(mib, __arraycount(mib), ifo->hostname, &hlen,
259 snprintf(ifo->hostname, sizeof(ifo->hostname),
261 ifo->options = DHCPCD_GATEWAY | DHCPCD_HOSTNAME;
configure.c 397 struct if_options *ifo; local
399 ifo = iface->state->options;
400 if (ifo->options & DHCPCD_INFORM ||
401 (ifo->options & DHCPCD_STATIC && ifo->req_addr.s_addr == 0))
420 struct if_options *ifo = iface->state->options; local
424 if (!(ifo->options & DHCPCD_INFORM) ||

Completed in 60 milliseconds