Searched refs:rtm_type (Results 1 – 15 of 15) sorted by relevance
349 static void parse_route_rsp(struct rt_route_getroute_rsp *rsp, void *rtm_type) in parse_route_rsp() 351 *(uint8_t *)rtm_type = rsp->_hdr.rtm_type; in parse_route_rsp() 356 uint8_t rtm_type, table = RT_TABLE_LOCAL; in ip_route_check() 361 &rtm_type) == 0 && in ip_route_check() 362 rtm_type == RTN_LOCAL) in ip_route_check() 348 parse_route_rsp(struct rt_route_getroute_rsp * rsp,void * rtm_type) parse_route_rsp() argument 355 uint8_t rtm_type, table = RT_TABLE_LOCAL; ip_route_check() local
447 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
191 rtm->rtm_type = RTN_UNICAST; in fill_route()255 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
1494 if ((*rtm)->rtm_type != RTN_UNICAST) { in mctp_route_nlparse_common()1531 *type = rtm->rtm_type; in mctp_route_nlparse_lookup()1578 rt->type = rtm->rtm_type; in mctp_route_nlparse_populate()1671 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
1900 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()2057 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()2172 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()2376 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()2546 r->rtm_type = RTN_UNICAST; in mpls_getroute()
267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
254 unsigned char rtm_type; /* See below */ member
282 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
784 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()992 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
1775 rtm->rtm_type = fri->type; in fib_dump_info() 1797 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
2529 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()2692 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()2881 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
3003 r->rtm_type = rt->rt_type; in rt_fill_info() 3277 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
5238 .fc_type = rtm->rtm_type, in rtm_to_fib6_config() 5245 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config() 5246 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config() 5247 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config() 5248 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config() 5251 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config() 5837 rtm->rtm_type = rt->fib6_type; in rt6_fill_node() 5947 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node() 6188 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
2554 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()2718 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()