summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/net/if.h
blob: 88f386f46d5c95ee3e470b806247711b23861c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _NET_IF_H
#define _NET_IF_H

#include <sys/cdefs.h>

#include <linux/if.h>

unsigned int if_nametoindex (const char *ifname) __THROW;
char *if_indextoname (unsigned int ifindex, char *ifname) __THROW;

#endif