EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
ifaceu.h
Go to the documentation of this file.
1 
11 #ifndef IFACEU_H_
12 #define IFACEU_H_
13 
14 #include <stdbool.h>
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <errno.h>
18 #include <string.h>
19 
24 unsigned int iface_nametoindex(const char *ifname);
25 
32 bool iface_exists(const char *ifname);
33 #endif
unsigned int iface_nametoindex(const char *ifname)
if_nametoindex from net/if.h
Definition: ifaceu.c:20
bool iface_exists(const char *ifname)
Check if interface exists.
Definition: ifaceu.c:24