Home
last modified time | relevance | path

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

/linux-4.4.14/net/decnet/
Ddn_fib.c271 if (r->rtm_type > RTN_MAX) in dn_fib_create_info()
274 if (dn_fib_props[r->rtm_type].scope > r->rtm_scope) in dn_fib_create_info()
337 if (r->rtm_type == RTN_NAT) { in dn_fib_create_info()
345 if (dn_fib_props[r->rtm_type].error) { in dn_fib_create_info()
374 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info()
602 req.rtm.rtm_type = type; in fib_magic()
Ddn_table.c318 rtm->rtm_type = type; in dn_fib_dump_info()
534 int type = r->rtm_type; in dn_fib_table_insert()
708 (!r->rtm_type || f->fn_type == r->rtm_type) && in dn_fib_table_delete()
Ddn_route.c1573 r->rtm_type = rt->rt_type; in dn_rt_fill_info()
/linux-4.4.14/net/phonet/
Dpn_netlink.c189 rtm->rtm_type = RTN_UNICAST; in fill_route()
251 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/linux-4.4.14/net/ipv6/
Droute.c2726 cfg->fc_type = rtm->rtm_type; in rtm_to_fib6_config()
2728 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
2729 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
2730 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
2731 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
2734 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
3085 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
3088 rtm->rtm_type = RTN_PROHIBIT; in rt6_fill_node()
3091 rtm->rtm_type = RTN_THROW; in rt6_fill_node()
3094 rtm->rtm_type = RTN_UNREACHABLE; in rt6_fill_node()
[all …]
Dip6mr.c2274 rtm->rtm_type = RTN_MULTICAST; in __ip6mr_fill_mroute()
2375 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
/linux-4.4.14/include/uapi/linux/
Drtnetlink.h191 unsigned char rtm_type; /* See below */ member
/linux-4.4.14/net/mpls/
Daf_mpls.c1130 if (rtm->rtm_type != RTN_UNICAST) in rtm_to_route_config()
1239 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
/linux-4.4.14/net/ipv4/
Dfib_frontend.c651 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
Dipmr.c2187 rtm->rtm_type = RTN_MULTICAST; in __ipmr_fill_mroute()
2280 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
Dfib_semantics.c1237 rtm->rtm_type = type; in fib_dump_info()
Droute.c2434 r->rtm_type = rt->rt_type; in rt_fill_info()