Home
last modified time | relevance | path

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

/linux-5.19.10/net/mpls/
Daf_mpls.c1856 if (rtm->rtm_flags != 0) { in rtm_to_route_config()
2003 rtm->rtm_flags = 0; in mpls_dump_route()
2031 rtm->rtm_flags |= RTNH_F_LINKDOWN; in mpls_dump_route()
2033 rtm->rtm_flags |= RTNH_F_DEAD; in mpls_dump_route()
2078 rtm->rtm_flags |= RTNH_F_LINKDOWN; in mpls_dump_route()
2080 rtm->rtm_flags |= RTNH_F_DEAD; in mpls_dump_route()
2118 rtm->rtm_flags) { in mpls_valid_fib_dump_req()
2319 if (rtm->rtm_flags & ~RTM_F_FIB_MATCH) { in mpls_valid_getroute_req()
2398 if (rtm->rtm_flags & RTM_F_FIB_MATCH) { in mpls_getroute()
2483 r->rtm_flags = 0; in mpls_getroute()
/linux-5.19.10/net/decnet/
Ddn_fib.c175 nh->nh_flags = (r->rtm_flags&~0xFF) | nhp->rtnh_flags; in dn_fib_get_nhs()
291 fi->fib_flags = r->rtm_flags; in dn_fib_create_info()
336 nh->nh_flags = r->rtm_flags; in dn_fib_create_info()
Ddn_route.c1565 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in dn_rt_fill_info()
1570 r->rtm_flags |= RTM_F_NOTIFY; in dn_rt_fill_info()
1701 if (rtm->rtm_flags & RTM_F_NOTIFY) in dn_cache_getroute()
1736 if (!(rtm->rtm_flags & RTM_F_CLONED)) in dn_cache_dump()
Ddn_table.c318 rtm->rtm_flags = fi->fib_flags; in dn_fib_dump_info()
501 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump()
/linux-5.19.10/net/ipv4/
Dipmr_base.c219 rtm->rtm_flags |= RTNH_F_UNRESOLVED; in mr_fill_mroute()
229 rtm->rtm_flags |= RTNH_F_OFFLOAD; in mr_fill_mroute()
Dfib_frontend.c755 cfg->fc_flags = rtm->rtm_flags; in rtm_to_fib_config()
927 if (rtm->rtm_flags & ~(RTM_F_CLONED | RTM_F_PREFIX)) { in ip_valid_fib_dump_req()
931 if (rtm->rtm_flags & RTM_F_CLONED) in ip_valid_fib_dump_req()
936 filter->flags = rtm->rtm_flags; in ip_valid_fib_dump_req()
997 filter.flags = rtm->rtm_flags & (RTM_F_PREFIX | RTM_F_CLONED); in inet_dump_fib()
Dfib_semantics.c1792 rtm->rtm_flags = fi->fib_flags; in fib_dump_info()
1825 rtm->rtm_flags = flags; in fib_dump_info()
1843 rtm->rtm_flags |= RTM_F_OFFLOAD; in fib_dump_info()
1845 rtm->rtm_flags |= RTM_F_TRAP; in fib_dump_info()
1847 rtm->rtm_flags |= RTM_F_OFFLOAD_FAILED; in fib_dump_info()
Droute.c2973 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info()
2975 r->rtm_flags |= RTM_F_NOTIFY; in rt_fill_info()
2977 r->rtm_flags |= RTCF_DOREDIRECT; in rt_fill_info()
3247 if (rtm->rtm_flags & ~(RTM_F_NOTIFY | in inet_rtm_valid_getroute_req()
3387 if (rtm->rtm_flags & RTM_F_NOTIFY) in inet_rtm_getroute()
3390 if (rtm->rtm_flags & RTM_F_LOOKUP_TABLE) in inet_rtm_getroute()
3399 if (rtm->rtm_flags & RTM_F_FIB_MATCH) { in inet_rtm_getroute()
Dipmr.c2318 rtm->rtm_flags = 0; in ipmr_fill_mroute()
2477 rtm->rtm_scope || rtm->rtm_type || rtm->rtm_flags) { in ipmr_rtm_valid_getroute_req()
/linux-5.19.10/net/phonet/
Dpn_netlink.c179 rtm->rtm_flags = 0; in fill_route()
/linux-5.19.10/include/uapi/linux/
Drtnetlink.h248 unsigned rtm_flags; member
/linux-5.19.10/net/ipv6/
Droute.c5041 if (rtm->rtm_flags & RTM_F_CLONED) in rtm_to_fib6_config()
5044 cfg->fc_flags |= (rtm->rtm_flags & RTNH_F_ONLINK); in rtm_to_fib6_config()
5644 rtm->rtm_flags = 0; in rt6_fill_node()
5649 rtm->rtm_flags |= RTM_F_CLONED; in rt6_fill_node()
5748 rtm->rtm_flags |= nh_flags; in rt6_fill_node()
5754 rtm->rtm_flags |= nh_flags; in rt6_fill_node()
5764 rtm->rtm_flags |= RTM_F_OFFLOAD; in rt6_fill_node()
5766 rtm->rtm_flags |= RTM_F_TRAP; in rt6_fill_node()
5768 rtm->rtm_flags |= RTM_F_OFFLOAD_FAILED; in rt6_fill_node()
5976 if (rtm->rtm_flags & ~RTM_F_FIB_MATCH) { in inet6_rtm_valid_getroute_req()
[all …]
Dip6_fib.c641 if (rtm->rtm_flags & RTM_F_PREFIX) in inet6_dump_fib()
Dip6mr.c2374 rtm->rtm_flags = 0; in ip6mr_fill_mroute()