Lines Matching refs:gateway
363 route->gw_family = m->gateway.family; in route_apply_multipath_route()
364 route->gw = m->gateway.address; in route_apply_multipath_route()
578 union in_addr_union a = m->gateway.address; in log_route_debug()
580 (void) in_addr_to_string(m->gateway.family, &a, &buf); in log_route_debug()
1076 if (route->family == m->gateway.family) { in append_nexthop_one()
1077 …r = rtattr_append_attribute(rta, RTA_GATEWAY, &m->gateway.address, FAMILY_ADDRESS_SIZE(m->gateway.… in append_nexthop_one()
1081 rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family)); in append_nexthop_one()
1083 … rtattr_append_attribute(rta, RTA_VIA, &m->gateway, FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeo… in append_nexthop_one()
1087 … rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeof(m->gateway.family)); in append_nexthop_one()
1293 union in_addr_union a = m->gateway.address; 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()
2717 m->gateway.address = a; in config_parse_multipath_route()
2718 m->gateway.family = family; in config_parse_multipath_route()
2863 if (m->gateway.family == AF_INET) in route_section_verify()