You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
321 B
23 lines
321 B
|
5 years ago
|
#include <stddef.h>
|
||
|
|
#include <errno.h>
|
||
|
|
#include <net/if.h>
|
||
|
|
|
||
|
|
unsigned int if_nametoindex(const char *__ifname)
|
||
|
|
{
|
||
|
|
return ENOTSUP;
|
||
|
|
}
|
||
|
|
|
||
|
|
char *if_indextoname(unsigned int __ifindex, char *__ifname)
|
||
|
|
{
|
||
|
|
return NULL;
|
||
|
|
}
|
||
|
|
|
||
|
|
struct if_nameindex *if_nameindex()
|
||
|
|
{
|
||
|
|
return NULL;
|
||
|
|
}
|
||
|
|
|
||
|
|
void if_freenameindex(struct if_nameindex *__ptr)
|
||
|
|
{
|
||
|
|
}
|