about summary refs log tree commit diff
path: root/conform/data/net
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/net')
-rw-r--r--conform/data/net/if.h-data15
1 files changed, 15 insertions, 0 deletions
diff --git a/conform/data/net/if.h-data b/conform/data/net/if.h-data
new file mode 100644
index 0000000000..8a462522d1
--- /dev/null
+++ b/conform/data/net/if.h-data
@@ -0,0 +1,15 @@
+#ifndef ISO
+type {struct if_nameindex}
+
+element {struct if_nameindex} {unsigned int} if_index
+element {struct if_nameindex} {char*} if_name
+
+macro IF_NAMESIZE
+
+function {unsigned int} if_nametoindex (const char*)
+function {char*} if_indextoname (unsigned int, char*)
+function {struct if_nameindex*} if_nameindex (void)
+function void if_freenameindex (struct if_nameindex*)
+
+allow *_t
+#endif