Add IPv6 link-local address to net_init and info response, use WaitGroup.Go

This commit is contained in:
Ian Gulliver
2026-04-06 17:20:13 +09:00
parent 1fa1b2076c
commit 00ab432a72
7 changed files with 34 additions and 28 deletions

View File

@@ -47,8 +47,9 @@ struct ResponseInfo {
static constexpr int8_t ext_id = 5;
std::array<uint8_t, 8> board_id;
std::array<uint8_t, 6> mac;
auto as_tuple() const { return std::tie(board_id, mac); }
auto as_tuple() { return std::tie(board_id, mac); }
std::array<uint8_t, 16> link_local;
auto as_tuple() const { return std::tie(board_id, mac, link_local); }
auto as_tuple() { return std::tie(board_id, mac, link_local); }
};
static constexpr uint8_t hash_key[8] = {};