Home
last modified time | relevance | path

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

/Linux-v5.15/net/decnet/
Ddn_fib.c274 if (r->rtm_type > RTN_MAX) in dn_fib_create_info()
277 if (dn_fib_props[r->rtm_type].scope > r->rtm_scope) in dn_fib_create_info()
340 if (r->rtm_type == RTN_NAT) { in dn_fib_create_info()
348 if (dn_fib_props[r->rtm_type].error) { in dn_fib_create_info()
377 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info()
609 req.rtm.rtm_type = type; in fib_magic()
Ddn_table.c320 rtm->rtm_type = type; in dn_fib_dump_info()
537 int type = r->rtm_type; in dn_fib_table_insert()
711 (!r->rtm_type || f->fn_type == r->rtm_type) && in dn_fib_table_delete()
Ddn_route.c1564 r->rtm_type = rt->rt_type; in dn_rt_fill_info()
/Linux-v5.15/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-v5.15/net/mctp/
Droute.c944 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
952 if (rtm->rtm_type != RTN_UNICAST) in mctp_newroute()
956 rtm->rtm_type); in mctp_newroute()
975 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1005 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/Linux-v5.15/net/mpls/
Daf_mpls.c1821 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1972 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2087 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2289 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2454 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/Linux-v5.15/include/uapi/linux/
Drtnetlink.h237 unsigned char rtm_type; /* See below */ member
/Linux-v5.15/net/ipv4/
Dipmr_base.c266 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
Dfib_frontend.c743 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
927 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
Dfib_semantics.c1760 rtm->rtm_type = fri->type; in fib_dump_info()
1782 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
Dipmr.c2316 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2481 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2658 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
Droute.c2946 r->rtm_type = rt->rt_type; in rt_fill_info()
3218 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/Linux-v5.15/tools/testing/selftests/net/
Dudpgso.c390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
Dipsec.c407 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/Linux-v5.15/net/ipv6/
Droute.c5013 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5020 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5021 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5022 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5023 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5026 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5603 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5702 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
5932 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
Dip6mr.c2345 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()