Lines Matching refs:ce_mask
144 if (!(r->ce_mask & ROUTE_ATTR_DST) || in route_dump_line()
150 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache) in route_dump_line()
154 if (r->ce_mask & ROUTE_ATTR_TYPE) in route_dump_line()
158 if (r->ce_mask & ROUTE_ATTR_TOS && r->rt_tos != 0) in route_dump_line()
161 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in route_dump_line()
171 if (r->ce_mask & ROUTE_ATTR_FLAGS && flags) { in route_dump_line()
219 if (r->ce_mask & ROUTE_ATTR_PREF_SRC) in route_dump_details()
223 if (r->ce_mask & ROUTE_ATTR_SCOPE && r->rt_scope != RT_SCOPE_NOWHERE) in route_dump_details()
227 if (r->ce_mask & ROUTE_ATTR_PRIO) in route_dump_details()
230 if (r->ce_mask & ROUTE_ATTR_PROTOCOL) in route_dump_details()
234 if (r->ce_mask & ROUTE_ATTR_IIF) { in route_dump_details()
243 if (r->ce_mask & ROUTE_ATTR_SRC) in route_dump_details()
248 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in route_dump_details()
259 if ((r->ce_mask & ROUTE_ATTR_CACHEINFO) && r->rt_cacheinfo.rtci_error) { in route_dump_details()
265 if (r->ce_mask & ROUTE_ATTR_METRICS) { in route_dump_details()
286 if (route->ce_mask & ROUTE_ATTR_CACHEINFO) { in route_dump_stats()
375 nh_b->ce_mask, 1)) { in route_compare()
603 route->ce_mask |= ROUTE_ATTR_TABLE; in rtnl_route_set_table()
614 route->ce_mask |= ROUTE_ATTR_SCOPE; in rtnl_route_set_scope()
625 route->ce_mask |= ROUTE_ATTR_TOS; in rtnl_route_set_tos()
636 route->ce_mask |= ROUTE_ATTR_PROTOCOL; in rtnl_route_set_protocol()
647 route->ce_mask |= ROUTE_ATTR_PRIO; in rtnl_route_set_priority()
661 route->ce_mask |= ROUTE_ATTR_FAMILY; in rtnl_route_set_family()
673 if (route->ce_mask & ROUTE_ATTR_FAMILY) { in rtnl_route_set_dst()
685 route->ce_mask |= (ROUTE_ATTR_DST | ROUTE_ATTR_FAMILY); in rtnl_route_set_dst()
700 if (route->ce_mask & ROUTE_ATTR_FAMILY) { in rtnl_route_set_src()
711 route->ce_mask |= (ROUTE_ATTR_SRC | ROUTE_ATTR_FAMILY); in rtnl_route_set_src()
727 route->ce_mask |= ROUTE_ATTR_TYPE; in rtnl_route_set_type()
741 route->ce_mask |= ROUTE_ATTR_FLAGS; in rtnl_route_set_flags()
748 route->ce_mask |= ROUTE_ATTR_FLAGS; in rtnl_route_unset_flags()
768 route->ce_mask |= ROUTE_ATTR_METRICS; in rtnl_route_set_metric()
802 if (route->ce_mask & ROUTE_ATTR_FAMILY) { in rtnl_route_set_pref_src()
813 route->ce_mask |= (ROUTE_ATTR_PREF_SRC | ROUTE_ATTR_FAMILY); in rtnl_route_set_pref_src()
826 route->ce_mask |= ROUTE_ATTR_IIF; in rtnl_route_set_iif()
838 route->ce_mask |= ROUTE_ATTR_MULTIPATH; in rtnl_route_add_nexthop()
843 if (route->ce_mask & ROUTE_ATTR_MULTIPATH) { in rtnl_route_remove_nexthop()
851 if (route->ce_mask & ROUTE_ATTR_MULTIPATH) in rtnl_route_get_nexthops()
859 if (route->ce_mask & ROUTE_ATTR_MULTIPATH) in rtnl_route_get_nnexthops()
871 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in rtnl_route_foreach_nexthop()
883 if (r->ce_mask & ROUTE_ATTR_MULTIPATH && r->rt_nr_nh > n) { in rtnl_route_nexthop_n()
1038 route->ce_mask |= ROUTE_ATTR_FAMILY | ROUTE_ATTR_TOS | in rtnl_route_parse()
1112 route->ce_mask |= ROUTE_ATTR_CACHEINFO; in rtnl_route_parse()
1159 old_nh->ce_mask, 0)) { in rtnl_route_parse()
1201 if (!(route->ce_mask & ROUTE_ATTR_SCOPE)) in rtnl_route_build_msg()
1221 if (route->ce_mask & ROUTE_ATTR_SRC) in rtnl_route_build_msg()
1224 if (route->ce_mask & ROUTE_ATTR_PREF_SRC) in rtnl_route_build_msg()
1227 if (route->ce_mask & ROUTE_ATTR_IIF) in rtnl_route_build_msg()