Home
last modified time | relevance | path

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

/external/dhcpcd-6.8.2/
Dif-options.c203 add_environ(struct dhcpcd_ctx *ctx, struct if_options *ifo, in add_environ() argument
207 char **lst = ifo->environ; in add_environ()
273 ifo->environ = newlist; in add_environ()
520 struct if_options *ifo, in set_option_space() argument
533 *od = ifo->dhcp6_override; in set_option_space()
534 *odl = ifo->dhcp6_override_len; in set_option_space()
535 *request = ifo->requestmask6; in set_option_space()
536 *require = ifo->requiremask6; in set_option_space()
537 *no = ifo->nomask6; in set_option_space()
538 *reject = ifo->rejectmask6; in set_option_space()
[all …]
Ddhcpcd.c362 struct if_options *ifo = ifp->options; in configure_interface1() local
373 if (ifo->options & DHCPCD_RELEASE) in configure_interface1()
374 ifo->options &= ~DHCPCD_PERSISTENT; in configure_interface1()
376 if (ifp->flags & IFF_POINTOPOINT && !(ifo->options & DHCPCD_INFORM)) in configure_interface1()
377 ifo->options |= DHCPCD_STATIC; in configure_interface1()
379 ifo->options & (DHCPCD_INFORM | DHCPCD_STATIC)) in configure_interface1()
380 ifo->options &= ~(DHCPCD_ARP | DHCPCD_IPV4LL); in configure_interface1()
383 ifo->options &= ~DHCPCD_IPV6RS; in configure_interface1()
385 if (ifo->metric != -1) in configure_interface1()
386 ifp->metric = (unsigned int)ifo->metric; in configure_interface1()
[all …]
Ddhcp.c584 struct if_options *ifo = ifp->options; in get_option_routes() local
593 if (!has_option_mask(ifo->nomask, DHO_CSR)) in get_option_routes()
598 if (!p && !has_option_mask(ifo->nomask, DHO_MSCSR)) { in get_option_routes()
609 if (!(ifo->options & DHCPCD_CSR_WARNED) && in get_option_routes()
615 ifo->options |= DHCPCD_CSR_WARNED; in get_option_routes()
628 if (!has_option_mask(ifo->nomask, DHO_STATICROUTE)) in get_option_routes()
658 if (!has_option_mask(ifo->nomask, DHO_ROUTER)) in get_option_routes()
723 struct if_options *ifo = ifp->options; in make_message() local
759 if (ifo->options & DHCPCD_BROADCAST && in make_message()
774 if (!(ifo->options & DHCPCD_BOOTP)) { in make_message()
[all …]
Ddhcp6.c159 const struct if_options *ifo; in dhcp6_makevendor() local
168 ifo = ifp->options; in dhcp6_makevendor()
170 if (ifo->vivco_en) { in dhcp6_makevendor()
171 for (i = 0, vivco = ifo->vivco; in dhcp6_makevendor()
172 i < ifo->vivco_len; in dhcp6_makevendor()
194 u32 = htonl(ifo->vivco_en ? ifo->vivco_en : DHCPCD_IANA_PEN); in dhcp6_makevendor()
197 if (ifo->vivco_en) { in dhcp6_makevendor()
198 for (i = 0, vivco = ifo->vivco; in dhcp6_makevendor()
199 i < ifo->vivco_len; in dhcp6_makevendor()
517 struct if_options *ifo; in dhcp6_makemessage() local
[all …]
Dscript.c230 const struct if_options *ifo = ifp->options; in make_env() local
339 if (ifo->options & DHCPCD_RELEASE) in make_env()
380 if (ifo->options & DHCPCD_DEBUG) { in make_env()
424 (const char *const *)ifo->config) == -1) in make_env()
429 if (dhcp6 && d6_state && ifo->options & DHCPCD_PFXDLGONLY) { in make_env()
474 (const char *const *)ifo->config) == -1) in make_env()
512 if (ifo->environ) { in make_env()
514 while (ifo->environ[e++]) in make_env()
521 while (ifo->environ[e]) { in make_env()
522 env[elen + e] = strdup(ifo->environ[e]); in make_env()
Dipv4.c579 struct if_options *ifo; in add_router_host_route() local
610 ifo = ifp->options; in add_router_host_route()
612 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) && in add_router_host_route()
615 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED; in add_router_host_route()
623 if (!(ifo->options & DHCPCD_ROUTER_HOST_ROUTE_WARNED) && in add_router_host_route()
626 ifo->options |= DHCPCD_ROUTER_HOST_ROUTE_WARNED; in add_router_host_route()
787 struct if_options *ifo; in delete_address() local
791 ifo = ifp->options; in delete_address()
792 if (ifo->options & DHCPCD_INFORM || in delete_address()
793 (ifo->options & DHCPCD_STATIC && ifo->req_addr.s_addr == 0)) in delete_address()
[all …]
/external/dhcpcd-6.8.2/dbus/
Drpc-dbus.c298 const struct if_options *ifo = ifp->options; in dbus_send_message() local
374 const struct if_options *ifo = ifp->options; in dbus_send_dhcpv6_message() local