Add Linux TAP

This commit is contained in:
stud213067 committed 2026-09-03 20:18:59 +03:00
1 parent 948ae56f77
commit 9fce687690
29 files changed
+815 -118

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
idf_component_register(
SRCS "device_list.c"
INCLUDE_DIRS "include"
)
REQUIRES lwip
)
+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];
}
}