Home
last modified time | relevance | path

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

/Linux-v4.19/net/decnet/
Ddn_fib.c275 if (r->rtm_type > RTN_MAX) in dn_fib_create_info()
278 if (dn_fib_props[r->rtm_type].scope > r->rtm_scope) in dn_fib_create_info()
341 if (r->rtm_type == RTN_NAT) { in dn_fib_create_info()
349 if (dn_fib_props[r->rtm_type].error) { in dn_fib_create_info()
378 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info()
610 req.rtm.rtm_type = type; in fib_magic()
Ddn_table.c320 rtm->rtm_type = type; in dn_fib_dump_info()
536 int type = r->rtm_type; in dn_fib_table_insert()
710 (!r->rtm_type || f->fn_type == r->rtm_type) && in dn_fib_table_delete()
Ddn_route.c1569 r->rtm_type = rt->rt_type; in dn_rt_fill_info()
/Linux-v4.19/net/phonet/
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-v4.19/net/ipv4/
Dipmr_base.c266 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
Dfib_frontend.c678 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
Dipmr.c2325 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2588 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
Dfib_semantics.c1313 rtm->rtm_type = type; in fib_dump_info()
Droute.c2624 r->rtm_type = rt->rt_type; in rt_fill_info()
/Linux-v4.19/include/uapi/linux/
Drtnetlink.h209 unsigned char rtm_type; /* See below */ member
/Linux-v4.19/tools/testing/selftests/net/
Dudpgso.c399 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
/Linux-v4.19/net/ipv6/
Droute.c4186 cfg->fc_type = rtm->rtm_type; in rtm_to_fib6_config()
4188 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
4189 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
4190 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
4191 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
4194 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
4707 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
Dip6mr.c2291 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
/Linux-v4.19/net/mpls/
Daf_mpls.c1779 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1927 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2242 r->rtm_type = RTN_UNICAST; in mpls_getroute()