Home
last modified time | relevance | path

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

/openbmc/linux/net/phonet/
H A 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()
/openbmc/linux/net/mctp/
H A Droute.c1272 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
1288 rtm->rtm_type); in mctp_newroute()
1307 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1337 hdr->rtm_type = rt->type; in mctp_fill_rtinfo()
/openbmc/linux/net/mpls/
H A Daf_mpls.c1841 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1992 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2107 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2305 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2470 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h246 unsigned char rtm_type; /* See below */ member
/openbmc/linux/net/ipv4/
H A Dipmr_base.c274 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
H A Dfib_frontend.c757 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
944 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
H A Dipmr.c2348 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2513 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2690 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
H A Dfib_semantics.c1803 rtm->rtm_type = fri->type; in fib_dump_info()
1825 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
H A Droute.c2981 r->rtm_type = rt->rt_type; in rt_fill_info()
3253 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c416 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
H A Dipsec.c446 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/openbmc/linux/net/ipv6/
H A Droute.c5035 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
5042 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
5043 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
5044 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
5045 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
5048 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5655 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5761 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
5991 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
H A Dip6mr.c2379 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2545 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ip6mr_rtm_valid_getroute_req()