summaryrefslogtreecommitdiffstats
path: root/ffd/netif.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffd/netif.h')
-rw-r--r--ffd/netif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffd/netif.h b/ffd/netif.h
index 8dc5b94..cc723ba 100644
--- a/ffd/netif.h
+++ b/ffd/netif.h
@@ -33,7 +33,8 @@
typedef enum _netif_type_t {
- IF_UNKNOWN = 0,
+ IF_UNSPEC = 0,
+ IF_UNKNOWN,
IF_WIRED,
IF_WIRELESS,
IF_VIRTUAL,
@@ -45,6 +46,7 @@ typedef enum _netif_type_t {
typedef void (*netif_cb)(const char *ifname, unsigned ifindex, void *arg);
+netif_type_t netif_get_type(const char *ifname);
bool netif_is_mesh(const char *ifname);
char* netif_get_mesh(const char *ifname);
char* netif_get_bridge(const char *ifname);