Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diproute.c148 if (r->rtm_family == AF_INET6) in print_route()
150 else if (r->rtm_family == AF_INET) in print_route()
152 else if (r->rtm_family == AF_DECnet) in print_route()
154 else if (r->rtm_family == AF_IPX) in print_route()
160 if (r->rtm_family == AF_INET6 && table != RT_TABLE_MAIN) in print_route()
166 if (r->rtm_family == AF_INET6 && !ip6_multiple_tables) { in print_route()
191 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in print_route()
194 (r->rtm_family != filter.mdst.family || in print_route()
198 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len)) in print_route()
201 (r->rtm_family != filter.msrc.family || in print_route()
[all …]
Diprule.c66 if (r->rtm_family == AF_INET) in print_rule()
68 else if (r->rtm_family == AF_INET6) in print_rule()
70 else if (r->rtm_family == AF_DECnet) in print_rule()
72 else if (r->rtm_family == AF_IPX) in print_rule()
88 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, in print_rule()
95 fprintf(fp, "from %s ", format_host(r->rtm_family, in print_rule()
109 fprintf(fp, "to %s/%u ", rt_addr_n2a(r->rtm_family, in print_rule()
116 fprintf(fp, "to %s ", format_host(r->rtm_family, in print_rule()
174 format_host(r->rtm_family, in print_rule()
238 req.r.rtm_family = preferred_family; in iprule_modify()
[all …]
/external/android-clat/
Dgetroute.c55 …if((rt_p->rtm_family != default_route->request_family) || (rt_p->rtm_table != RT_TABLE_MAIN)) { //… in get_default_route_cb()
115 msg.rtm_family = default_route->request_family; in get_default_route()
Dsetroute.c64 rt.rtm_family = family; in if_route()
/external/dhcpcd/
Dif-linux.c248 rtm->rtm_family != AF_INET || in link_route()
552 nlm->rt.rtm_family = AF_INET; in if_route()
/external/iproute2/include/linux/
Drtnetlink.h164 unsigned char rtm_family; member
/external/kernel-headers/original/linux/
Drtnetlink.h164 unsigned char rtm_family; member