diff options
Diffstat (limited to 'mdk-stage1/dietlibc/include/net/if.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/net/if.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/net/if.h b/mdk-stage1/dietlibc/include/net/if.h new file mode 100644 index 000000000..e6e7be441 --- /dev/null +++ b/mdk-stage1/dietlibc/include/net/if.h @@ -0,0 +1,9 @@ +#ifndef _NET_IF_H +#define _NET_IF_H + +#include <sys/cdefs.h> + +unsigned int if_nametoindex (const char *ifname) __THROW; +char *if_indextoname (unsigned int ifindex, char *ifname) __THROW; + +#endif |