1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
2type {struct if_nameindex}
3
4element {struct if_nameindex} {unsigned int} if_index
5element {struct if_nameindex} {char*} if_name
6
7macro IF_NAMESIZE
8
9function {unsigned int} if_nametoindex (const char*)
10function {char*} if_indextoname (unsigned int, char*)
11function {struct if_nameindex*} if_nameindex (void)
12function void if_freenameindex (struct if_nameindex*)
13
14allow *_t
15allow IF_*
16#endif
17