socket: SIOCGIFINDEX

This commit is contained in:
Matheus
2026-09-10 23:52:48 -03:00
parent 485cf616b2
commit 5aca46e22c
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@ typedef struct {
typedef struct netdev_t {
mac_t mac;
int ifindex;
size_t mtu;
uint32_t ip;
int ipcurrid; // XXX This is defined as something per peer. However, having only one of these *should* work for most cases