Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/decnet/
H A 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()
H A 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()
H A Ddn_route.c1565 r->rtm_type = rt->rt_type; in dn_rt_fill_info()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c1856 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
2007 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2122 rtm->rtm_table || rtm->rtm_scope || rtm->rtm_type || in mpls_valid_fib_dump_req()
2324 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2489 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Drtnetlink.h209 unsigned char rtm_type; /* See below */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Drtnetlink.h209 unsigned char rtm_type; /* See below */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h230 unsigned char rtm_type; /* See below */ member
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dipmr_base.c266 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
H A Dfib_frontend.c743 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
930 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
H A Dipmr.c2318 rtm->rtm_type = RTN_MULTICAST; in ipmr_fill_mroute()
2483 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
2660 rtm->rtm_type != RTN_MULTICAST || in rtm_to_ipmr_mfcc()
H A Dfib_semantics.c1814 rtm->rtm_type = fri->type; in fib_dump_info()
1836 rtm->rtm_type = RTN_BLACKHOLE; in fib_dump_info()
H A Droute.c2873 r->rtm_type = rt->rt_type; in rt_fill_info()
3142 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso.c390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
H A Dipsec.c407 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c4886 .fc_type = rtm->rtm_type, in rtm_to_fib6_config()
4893 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config()
4894 rtm->rtm_type == RTN_BLACKHOLE || in rtm_to_fib6_config()
4895 rtm->rtm_type == RTN_PROHIBIT || in rtm_to_fib6_config()
4896 rtm->rtm_type == RTN_THROW) in rtm_to_fib6_config()
4899 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
5504 rtm->rtm_type = rt->fib6_type; in rt6_fill_node()
5599 rtm->rtm_type = RTN_BLACKHOLE; in rt6_fill_node()
5827 rtm->rtm_type) { in inet6_rtm_valid_getroute_req()
H A Dip6mr.c2348 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Difutils.c579 rtm->rtm_type = RTN_UNICAST; in if_act_on_route()