Home
last modified time | relevance | path

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

/third_party/toybox/toys/net/
Dnetstat.c291 char *destip = 0, *gateip = 0, *maskip = 0; in display_routes() local
303 if (inet_ntop(AF_INET, &dest, out, 16)) destip = out; in display_routes()
304 } else destip = (toys.optflags&FLAG_n) ? "0.0.0.0" : "default"; in display_routes()
326 printf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()
/third_party/toybox/toys/pending/
Droute.c147 char *destip = toybuf, *gateip = toybuf+32, *maskip = toybuf+64; //ip string 16 in display_routes() local
151 if (!dest && !(toys.optflags & FLAG_n)) strcpy( destip, "default"); in display_routes()
152 else if (!inet_ntop(AF_INET, &dest, destip, 32)) perror_exit("inet"); in display_routes()
162 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()