Home
last modified time | relevance | path

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

/external/toybox/toys/net/
Dnetstat.c291 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()
/external/toybox/toys/pending/
Droute.c146 char *destip = toybuf, *gateip = toybuf+32, *maskip = toybuf+64; //ip string 16 in display_routes() local
153 if (!gate && !(toys.optflags & FLAG_n)) strcpy( gateip, "*"); in display_routes()
154 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes()
161 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()