Add Linux TAP

This commit is contained in:
2026-09-03 20:18:59 +03:00
parent 948ae56f77
commit 9fce687690
29 changed files with 815 additions and 118 deletions
+6 -1
View File
@@ -34,6 +34,11 @@ device_info_t *device_list_find_by_mac(const struct eth_addr *mac)
bool device_list_add_or_update(const device_info_t *device)
{
if (device == NULL)
{
return false;
}
device_info_t *existing_device = device_list_find_by_mac(&device->mac);
if (existing_device != NULL)
@@ -73,4 +78,4 @@ const device_info_t *device_list_get_by_index(size_t index)
}
return &device_list[index];
}
}