Searched refs:rtm_family (Results 1 – 7 of 7) sorted by relevance
/external/iproute2/ip/ |
D | iproute.c | 148 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 …]
|
D | iprule.c | 66 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/ |
D | getroute.c | 55 …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()
|
D | setroute.c | 64 rt.rtm_family = family; in if_route()
|
/external/dhcpcd/ |
D | if-linux.c | 248 rtm->rtm_family != AF_INET || in link_route() 552 nlm->rt.rtm_family = AF_INET; in if_route()
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 164 unsigned char rtm_family; member
|
/external/kernel-headers/original/linux/ |
D | rtnetlink.h | 164 unsigned char rtm_family; member
|