Searched refs:gateip (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | netstat.c | 535 char *destip = NULL, *gateip = NULL, *maskip = NULL; in display_routes() local 554 if (inet_ntop(AF_INET, &gate, toybuf, sizeof(toybuf)) ) gateip = xstrdup(toybuf); in display_routes() 556 if (!notresolve) gateip = xstrdup("*"); in display_routes() 557 else gateip = xstrdup("0.0.0.0"); in display_routes() 565 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes() 567 if (gateip) free(gateip); in display_routes()
|
D | route.c | 128 char *destip = toybuf, *gateip = toybuf+32, *maskip = toybuf+64; //ip string 16 in display_routes() local 136 if (!gate && !(toys.optflags & FLAG_n)) strcpy( gateip, "*"); in display_routes() 137 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes() 145 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()
|