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.
22 lines
321 B
22 lines
321 B
#include <errno.h> |
|
#include <net/if.h> |
|
#include <stddef.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) |
|
{ |
|
}
|
|
|