Home
last modified time | relevance | path

Searched refs:router_list (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c323 DHCP_OPT *router_list; in dhcp_bound_complete() local
353 router_list = ack->opts[CD_ROUTER]; in dhcp_bound_complete()
356 router_list = NULL; in dhcp_bound_complete()
359 if (router_list != NULL && in dhcp_bound_complete()
360 (router_list->len % sizeof (ipaddr_t)) == 0 && in dhcp_bound_complete()
364 dsmp->dsm_nrouters = router_list->len / sizeof (ipaddr_t); in dhcp_bound_complete()
365 dsmp->dsm_routers = malloc(router_list->len); in dhcp_bound_complete()
375 router_list->value + (i * sizeof (ipaddr_t)), in dhcp_bound_complete()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c1744 struct router *router_list; in process_mibsock() local
1762 router_list = pi->pi_router_list; in process_mibsock()
1763 while (router_list != NULL) { in process_mibsock()
1765 router_list = router_list->dr_next; in process_mibsock()
1807 router_list = pi->pi_router_list; in process_mibsock()
1808 while (router_list != NULL) { in process_mibsock()
1811 router.router_address = router_list->dr_address; in process_mibsock()
1812 router.router_lifetime = router_list->dr_lifetime; in process_mibsock()
1816 router_list = router_list->dr_next; in process_mibsock()