EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the network interface utilities. More...
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
Go to the source code of this file.
Functions | |
unsigned int | iface_nametoindex (const char *ifname) |
if_nametoindex from net/if.h More... | |
bool | iface_exists (const char *ifname) |
Check if interface exists. More... | |
File containing the definition of the network interface utilities.
bool iface_exists | ( | const char * | ifname | ) |
Check if interface exists.
ifname | The interface name string |
unsigned int iface_nametoindex | ( | const char * | ifname | ) |
if_nametoindex from net/if.h