Home
last modified time | relevance | path

Searched refs:rtm_type (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dtun.c348 static void parse_route_rsp(struct rt_route_getroute_rsp *rsp, void *rtm_type) in parse_route_rsp() argument
350 *(uint8_t *)rtm_type = rsp->_hdr.rtm_type; in parse_route_rsp()
355 uint8_t rtm_type, table = RT_TABLE_LOCAL; in ip_route_check() local
360 &rtm_type) == 0 && in ip_route_check()
361 rtm_type == RTN_LOCAL) in ip_route_check()
H A Dipsec.c450 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/linux/net/phonet/
H A Dpn_netlink.c191 rtm->rtm_type = RTN_UNICAST; in fill_route()
255 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/linux/net/mctp/
H A Droute.c1483 if ((*rtm)->rtm_type != RTN_UNICAST) { in mctp_route_nlparse_common()
1520 *type = rtm->rtm_type; in mctp_route_nlparse_lookup()
1567 rt->type = rtm->rtm_type; in mctp_route_nlparse_populate()
1660 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/linux/net/mpls/
H A Daf_mpls.c1884 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
2041 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2156 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2360 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2529 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
/linux/include/uapi/linux/
H A Drtnetlink.h254 unsigned char rtm_type; /* See below */ member
/linux/tools/include/uapi/linux/
H A Drtnetlink.h254 unsigned char rtm_type; /* See below */ member
/linux/net/ipv4/
H A Dipmr_base.c274 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
H A Dfib_semantics.c1746 rtm->rtm_type = fri->type; in fib_dump_info()
1768 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
H A Droute.c2972 r->rtm_type = rt->rt_type; in rt_fill_info()
3243 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/linux/net/ipv6/
H A Droute.c5198 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5205 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5206 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5207 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5208 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5211 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5796 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5904 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
6139 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
H A Dip6mr.c2510 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2675 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()