Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c148 route_netmask, metric_len; in display_routes() local
162 route_netmask = route_entry->rtm_dst_len; in display_routes()
163 if (route_netmask == 0) netmask_addr.s_addr = ~((in_addr_t) -1); in display_routes()
164 else netmask_addr.s_addr = htonl(~((1 << (32 - route_netmask)) - 1)); in display_routes()
213 if (route_netmask == 32) strcat(flags, "H"); in display_routes()
221 char *dest_with_mask = xmprintf("%s/%u", dest, route_netmask); in display_routes()