Materiale sulle {{{ioctl}}} delle interfacce di rete.
[gapil.git] / listati / ifconf.h
diff --git a/listati/ifconf.h b/listati/ifconf.h
new file mode 100644 (file)
index 0000000..6913f5e
--- /dev/null
@@ -0,0 +1,7 @@
+struct ifconf {
+    int                ifc_len; /* size of buffer */
+    union {
+        char *         ifc_buf; /* buffer address */
+        struct ifreq * ifc_req; /* array of structures */
+    };
+};