Home
last modified time | relevance | path

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

/linux-6.12.1/net/phonet/
Dpn_netlink.c178 rtm->rtm_type = RTN_UNICAST; in fill_route()
242 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/linux-6.12.1/net/mctp/
Droute.c1320 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
1336 rtm->rtm_type); in mctp_newroute()
1355 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1385 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/linux-6.12.1/net/mpls/
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.12.1/include/uapi/linux/
Drtnetlink.h246 unsigned char rtm_type; /* See below */ member
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
/linux-6.12.1/net/ipv4/
Dipmr_base.c274 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
Dfib_frontend.c757 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
945 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
Dipmr.c2335 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2499 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2678 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
Dfib_semantics.c1802 rtm->rtm_type = fri->type; in fib_dump_info()
1824 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
Droute.c2892 r->rtm_type = rt->rt_type; in rt_fill_info()
3164 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/linux-6.12.1/net/ipv6/
Droute.c5039 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5046 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5047 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5048 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5049 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5052 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5651 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5750 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
5980 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
Dip6mr.c2360 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2525 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()
/linux-6.12.1/tools/testing/selftests/net/
Dipsec.c445 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()