Searched refs:rtm_type (Results 1 – 12 of 12) sorted by relevance
271 if (r->rtm_type > RTN_MAX) in dn_fib_create_info()274 if (dn_fib_props[r->rtm_type].scope > r->rtm_scope) in dn_fib_create_info()337 if (r->rtm_type == RTN_NAT) { in dn_fib_create_info()345 if (dn_fib_props[r->rtm_type].error) { in dn_fib_create_info()374 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info()602 req.rtm.rtm_type = type; in fib_magic()
318 rtm->rtm_type = type; in dn_fib_dump_info()534 int type = r->rtm_type; in dn_fib_table_insert()708 (!r->rtm_type || f->fn_type == r->rtm_type) && in dn_fib_table_delete()
1568 r->rtm_type = rt->rt_type; in dn_rt_fill_info()
189 rtm->rtm_type = RTN_UNICAST; in fill_route()251 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
2447 cfg->fc_type = rtm->rtm_type; in rtm_to_fib6_config()2449 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()2450 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()2451 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()2452 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()2455 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()2789 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()2792 rtm->rtm_type = RTN_PROHIBIT; in rt6_fill_node()2795 rtm->rtm_type = RTN_THROW; in rt6_fill_node()2798 rtm->rtm_type = RTN_UNREACHABLE; in rt6_fill_node()[all …]
2279 rtm->rtm_type = RTN_MULTICAST; in __ip6mr_fill_mroute()2380 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
191 unsigned char rtm_type; /* See below */ member
709 if (rtm->rtm_type != RTN_UNICAST) in rtm_to_route_config()837 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
1012 rtm->rtm_type = type; in fib_dump_info()
615 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
2195 rtm->rtm_type = RTN_MULTICAST; in __ipmr_fill_mroute()2288 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2364 r->rtm_type = rt->rt_type; in rt_fill_info()