Home
last modified time | relevance | path

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

/Linux-v6.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-v6.1/net/mctp/
Droute.c1229 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
1244 if (rtm->rtm_type != RTN_UNICAST) in mctp_newroute()
1248 rtm->rtm_type); in mctp_newroute()
1267 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1297 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/Linux-v6.1/net/mpls/
Daf_mpls.c1851 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
2002 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2117 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2315 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2480 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/Linux-v6.1/include/uapi/linux/
Drtnetlink.h246 unsigned char rtm_type; /* See below */ member
/Linux-v6.1/net/ipv4/
Dipmr_base.c274 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
Dfib_frontend.c754 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
941 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
Dipmr.c2319 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2484 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2661 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
Dfib_semantics.c1795 rtm->rtm_type = fri->type; in fib_dump_info()
1817 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
Droute.c2961 r->rtm_type = rt->rt_type; in rt_fill_info()
3233 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/Linux-v6.1/tools/testing/selftests/net/
Dudpgso.c390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
Dipsec.c445 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/Linux-v6.1/net/ipv6/
Droute.c5025 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5032 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5033 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5034 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5035 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5038 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5643 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5742 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
5972 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
Dip6mr.c2373 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2539 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()