Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c279 add_default_route(router_addr) in add_default_route() argument
280 struct in_addr router_addr; in add_default_route()
296 sin->sin_addr.s_addr = router_addr.s_addr;
315 struct in_addr router_addr; in bpanswer() local
321 (void) memcpy(&router_addr, &res->router_address.bp_address_u.ip_addr, in bpanswer()
322 sizeof (router_addr)); in bpanswer()
337 fprintf(stdout, "\t\trouter = %s\n", inet_ntoa(router_addr)); in bpanswer()
373 if (router_addr.s_addr != 0) in bpanswer()
374 add_default_route(router_addr); in bpanswer()