Searched refs:gateip (Results 1 – 2 of 2) sorted by relevance
/third_party/toybox/toys/net/ |
D | netstat.c | 291 char *destip = 0, *gateip = 0, *maskip = 0; in display_routes() local 308 if (inet_ntop(AF_INET, &gate, out, 16)) gateip = out; in display_routes() 309 } else gateip = (toys.optflags&FLAG_n) ? "0.0.0.0" : "*"; in display_routes() 326 printf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()
|
/third_party/toybox/toys/pending/ |
D | route.c | 145 char *destip = toybuf, *gateip = toybuf+32, *maskip = toybuf+64; //ip string 16 in display_routes() local 152 if (!gate && !(toys.optflags & FLAG_n)) strcpy( gateip, "*"); in display_routes() 153 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes() 160 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()
|