summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX/net/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/API/POSIX/net/if.h')
-rw-r--r--Kernel/API/POSIX/net/if.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/net/if.h b/Kernel/API/POSIX/net/if.h
index 9c63d9ff82..3a90a8ec33 100644
--- a/Kernel/API/POSIX/net/if.h
+++ b/Kernel/API/POSIX/net/if.h
@@ -79,6 +79,11 @@ struct ifreq {
#define ifr_hwaddr ifr_ifru.ifru_hwaddr // MAC address
};
+struct if_nameindex {
+ unsigned int if_index;
+ char* if_name;
+};
+
#ifdef __cplusplus
}
#endif