Home
last modified time | relevance | path

Searched refs:RTNH_F_ONLINK (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/network/
Dnetworkd-nexthop.c482 r = sd_rtnl_message_nexthop_set_flags(m, nexthop->flags & RTNH_F_ONLINK); in nexthop_configure()
554 …return gateway_is_ready(link, FLAGS_SET(nexthop->flags, RTNH_F_ONLINK), nexthop->family, &nexthop-… in nexthop_is_ready_to_configure()
1043 SET_FLAG(nh->flags, RTNH_F_ONLINK, nh->onlink); in nexthop_section_verify()
Dnetworkd-route-util.c355 [LOG2U(RTNH_F_ONLINK)] = "onlink" , /* Gateway is forced on link */ in route_flags_to_string_alloc()
Dnetworkd-route.c663 r = sd_rtnl_message_route_set_flags(req, route->flags & RTNH_F_ONLINK); in route_set_netlink_message()
1288 … if (!gateway_is_ready(link, FLAGS_SET(route->flags, RTNH_F_ONLINK), route->gw_family, &route->gw)) in route_is_ready_to_configure()
1306 … if (!gateway_is_ready(l ?: link, FLAGS_SET(route->flags, RTNH_F_ONLINK), m->gateway.family, &a)) in route_is_ready_to_configure()
2857 SET_FLAG(route->flags, RTNH_F_ONLINK, route->gateway_onlink); in route_section_verify()
/systemd-251/src/basic/linux/
Drtnetlink.h411 #define RTNH_F_ONLINK 4 /* Gateway is forced on link */ macro