Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/net/mctp/
H A Droute.c1344 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
1360 rtm->rtm_type); in mctp_newroute()
1379 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1409 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/linux-6.15/net/mpls/
H A Daf_mpls.c1839 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1990 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2105 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2304 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2469 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/linux-6.15/include/uapi/linux/
H A Drtnetlink.h254 unsigned char rtm_type; /* See below */ member
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
/linux-6.15/net/ipv4/
H A Dipmr_base.c274 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
H A Dfib_frontend.c763 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
974 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
H A Dipmr.c2353 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2517 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2696 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
H A Dfib_semantics.c1753 rtm->rtm_type = fri->type; in fib_dump_info()
1775 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
H A Droute.c2951 r->rtm_type = rt->rt_type; in rt_fill_info()
3223 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/linux-6.15/net/ipv6/
H A Droute.c5089 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5096 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5097 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5098 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5099 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5102 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5711 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5817 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
6047 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
H A Dip6mr.c2383 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2548 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()
/linux-6.15/tools/testing/selftests/net/
H A Dipsec.c446 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()