We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e26e9f commit 9336f16Copy full SHA for 9336f16
include/sockios.h
@@ -47,8 +47,9 @@
47
#define SIOCADDRT (('S' << 8) | 30) /* add routing table entry */
48
#define SIOCDELRT (('S' << 8) | 31) /* delete routing table entry */
49
50
-#define SIOCGIFINDEX (('S' << 8) | 32)
51
-#define SIOGIFINDEX SIOCGIFINDEX
+/* network devices calls */
+#define SIOCGIFNAME_ETH (('S' << 8) | 32) /* return the name of the interface */
52
+#define SIOCGIFINDEX (('S' << 8) | 33) /* retrieve the interface index */
53
54
/* ARP cache control calls */
55
#define SIOCDARP (('S' << 8) | 40) /* delete ARP table entry */
0 commit comments