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()
1573 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()
2726 cfg->fc_type = rtm->rtm_type; in rtm_to_fib6_config()2728 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()2729 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()2730 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()2731 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()2734 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()3085 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()3088 rtm->rtm_type = RTN_PROHIBIT; in rt6_fill_node()3091 rtm->rtm_type = RTN_THROW; in rt6_fill_node()3094 rtm->rtm_type = RTN_UNREACHABLE; in rt6_fill_node()[all …]
2274 rtm->rtm_type = RTN_MULTICAST; in __ip6mr_fill_mroute()2375 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
191 unsigned char rtm_type; /* See below */ member
1130 if (rtm->rtm_type != RTN_UNICAST) in rtm_to_route_config()1239 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
651 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
2187 rtm->rtm_type = RTN_MULTICAST; in __ipmr_fill_mroute()2280 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
1237 rtm->rtm_type = type; in fib_dump_info()
2434 r->rtm_type = rt->rt_type; in rt_fill_info()