Home
last modified time | relevance | path

Searched refs:ifo (Results 1 – 9 of 9) sorted by relevance

/dragonfly/contrib/dhcpcd/src/
H A Dif-options.c945 memcpy(ifo->vendor + ifo->vendor[0] + 3, in parse_option()
958 ifo->vendor[ifo->vendor[0] + 1] = (uint8_t)i; in parse_option()
959 ifo->vendor[ifo->vendor[0] + 2] = (uint8_t)s; in parse_option()
1379 ifo->arping[ifo->arping_len++] = addr.s_addr; in parse_option()
1502 ifo->ia_len + 1, sizeof(*ifo->ia)); in parse_option()
1508 ia = &ifo->ia[ifo->ia_len++]; in parse_option()
2006 ifo->vivco_len + 1, sizeof(*ifo->vivco)); in parse_option()
2014 vivco = &ifo->vivco[ifo->vivco_len++]; in parse_option()
2423 ifo->vendor[ifo->vendor[0]] = DHO_END; in finish_config()
2866 for (; ifo->ia_len > 0; ifo->ia_len--) in free_options()
[all …]
H A Ddhcpcd.c549 memset(ifo->iaid, 0, sizeof(ifo->iaid)); in configure_interface1()
566 memcpy(ifo->iaid, &len, sizeof(ifo->iaid)); in configure_interface1()
573 if (ifo->ia_len == 0 && ifo->options & DHCPCD_IPV6 && in configure_interface1()
576 ifo->ia = malloc(sizeof(*ifo->ia)); in configure_interface1()
582 memcpy(ifo->ia->iaid, ifo->iaid, sizeof(ifo->iaid)); in configure_interface1()
583 memset(&ifo->ia->addr, 0, sizeof(ifo->ia->addr)); in configure_interface1()
594 memcpy(&ifo->ia[i].iaid, ifo->iaid, in configure_interface1()
919 hwaddr_ntoa(ifo->iaid, sizeof(ifo->iaid), in dhcpcd_startinterface()
2143 ifo->dhcp_override, ifo->dhcp_override_len); in main()
2150 ifo->nd_override, ifo->nd_override_len); in main()
[all …]
H A Ddhcp.c863 memcpy(p, ifo->vendor, (size_t)ifo->vendor[0] + 1); in make_message()
891 if (!DHC_REQOPT(opt, ifo->requestmask, ifo->nomask)) in make_message()
910 if (!DHC_REQOPT(opt, ifo->requestmask, ifo->nomask)) in make_message()
962 DHC_REQ(ifo->requestmask, ifo->nomask, DHO_RAPIDCOMMIT)) in make_message()
1057 memcpy(p, ifo->mudurl, (size_t)ifo->mudurl[0] + 1); in make_message()
1880 if (ifo->fallback && ifo->fallback_time) in dhcp_discover()
2617 &ifo->req_addr, &ifo->req_mask); in dhcp_inform()
2623 &ifo->req_addr, &ifo->req_mask); in dhcp_inform()
2751 if (!ifo->fallback && ifo->options & DHCPCD_IPV4LL) in dhcp_reboot()
2861 if (ifo->blacklist[i] == (addr & ifo->blacklist[i + 1])) in blacklisted_ip()
[all …]
H A Ddhcp6.c274 ifo = ifp->options; in dhcp6_makevendor()
305 pen = htonl(ifo->vivco_en ? ifo->vivco_en : DHCPCD_IANA_PEN); in dhcp6_makevendor()
706 fqdn = ifo->fqdn; in dhcp6_makemessage()
743 if (!DHC_REQOPT(opt, ifo->requestmask6, ifo->nomask6)) in dhcp6_makemessage()
753 if (!DHC_REQOPT(opt, ifo->requestmask6, ifo->nomask6)) in dhcp6_makemessage()
778 DHC_REQ(ifo->requestmask6, ifo->nomask6, in dhcp6_makemessage()
1081 if (!DHC_REQOPT(opt, ifo->requestmask6, ifo->nomask6)) in dhcp6_makemessage()
1093 if (!DHC_REQOPT(opt, ifo->requestmask6, ifo->nomask6)) in dhcp6_makemessage()
1155 ifo->mudurl + 1, ifo->mudurl[0]); in dhcp6_makemessage()
1160 DHC_REQ(ifo->requestmask6, ifo->nomask6, in dhcp6_makemessage()
[all …]
H A Dscript.c231 const struct if_options *ifo; in make_env() local
291 ifo = ifp->options; in make_env()
362 ifo->options & DHCPCD_CONFIGURE ? "true" : "false") == -1) in make_env()
419 if_down = ifo->options & DHCPCD_RELEASE ? true_str : false_str; in make_env()
474 if (ifo->options & DHCPCD_DEBUG) { in make_env()
484 (const char *const *)ifo->config) == -1) in make_env()
509 (const char *const *)ifo->config) == -1) in make_env()
532 if (ifo->environ) { in make_env()
533 for (i = 0; ifo->environ[i] != NULL; i++) in make_env()
534 if (efprintf(fp, "%s", ifo->environ[i]) == -1) in make_env()
H A Dipv4.c383 struct if_options *ifo; in inet_routerhostroute() local
427 ifo = ifp->options; in inet_routerhostroute()
429 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) && in inet_routerhostroute()
434 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED; in inet_routerhostroute()
444 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) && in inet_routerhostroute()
449 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED; in inet_routerhostroute()
567 struct if_options *ifo; in delete_address() local
571 ifo = ifp->options; in delete_address()
575 ifo->options & DHCPCD_INFORM || in delete_address()
576 (ifo->options & DHCPCD_STATIC && ifo->req_addr.s_addr == 0)) in delete_address()
[all …]
H A Ddhcp-common.c50 dhcp_get_hostname(char *buf, size_t buf_len, const struct if_options *ifo) in dhcp_get_hostname() argument
53 if (ifo->hostname[0] == '\0') { in dhcp_get_hostname()
58 strlcpy(buf, ifo->hostname, buf_len); in dhcp_get_hostname()
68 if (ifo->options & DHCPCD_HOSTNAME_SHORT) { in dhcp_get_hostname()
H A Dipv6.c441 const struct if_options *ifo = ifp->options; in ipv6_makeaddr() local
456 if (ifo->options & DHCPCD_SLAACPRIVATE) { in ipv6_makeaddr()
462 } else if (!IN6_IS_ADDR_UNSPECIFIED(&ifo->token)) { in ipv6_makeaddr()
467 *addr = ifo->token; in ipv6_makeaddr()
/dragonfly/contrib/file/magic/Magdir/
H A Danimation988 !:mime video/x-ifo
989 !:ext ifo/bup
992 !:mime video/x-ifo
993 !:ext ifo/bup