Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
if.h File Reference

Go to the source code of this file.

Data Structures

struct  if_nameindex
 

Macros

#define IF_NAMESIZE   1
 

Functions

char * if_indextoname (unsigned int ifindex, char *ifname)
 
void if_freenameindex (struct if_nameindex *ptr)
 
struct if_nameindexif_nameindex (void)
 
unsigned int if_nametoindex (const char *ifname)
 

Macro Definition Documentation

◆ IF_NAMESIZE

#define IF_NAMESIZE   1

Function Documentation

◆ if_freenameindex()

void if_freenameindex ( struct if_nameindex ptr)

◆ if_indextoname()

char * if_indextoname ( unsigned int  ifindex,
char *  ifname 
)

◆ if_nameindex()

struct if_nameindex * if_nameindex ( void  )

◆ if_nametoindex()

unsigned int if_nametoindex ( const char *  ifname)