summaryrefslogtreecommitdiffstats
path: root/headers/linux/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'headers/linux/if.h')
-rw-r--r--headers/linux/if.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/headers/linux/if.h b/headers/linux/if.h
new file mode 100644
index 0000000..4071cab
--- /dev/null
+++ b/headers/linux/if.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
+/* Truncated header from the kernel sources that just defines the name sizes
+ * below; used by icmp.h */
+#ifndef _LINUX_IF_H
+#define _LINUX_IF_H
+
+#define IFNAMSIZ 16
+#define IFALIASZ 256
+#define ALTIFNAMSIZ 128
+
+#endif /* _LINUX_IF_H */