hrev53087 adds 1 changeset to branch 'master'
old head: aa08671d9cd445a6ff181c83e9b077c51521f857
new head: db3b4a3caf398d395ebe72594235db57fc03ac06
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=db3b4a3caf39+%5Eaa08671d9cd4
----------------------------------------------------------------------------
db3b4a3caf39: posix/if_types.h: Fix tun id, add a few more
* Oops, there's a standard for these. Stick to the standard.
* Add a few that could be useful someday.
* Mention iana spec.
Change-Id: I4cf75e8c1e4b25f65d10921c7075fbd53f44e14e
[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev53087
Commit: db3b4a3caf398d395ebe72594235db57fc03ac06
URL: https://git.haiku-os.org/haiku/commit/?id=db3b4a3caf39
Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date: Mon Apr 22 18:06:00 2019 UTC
----------------------------------------------------------------------------
1 file changed, 7 insertions(+), 1 deletion(-)
headers/posix/net/if_types.h | 8 +++++++-
----------------------------------------------------------------------------
diff --git a/headers/posix/net/if_types.h b/headers/posix/net/if_types.h
index f95dd24379..4927200d97 100644
--- a/headers/posix/net/if_types.h
+++ b/headers/posix/net/if_types.h
@@ -5,14 +5,20 @@
#ifndef _NET_IF_TYPES_H
#define _NET_IF_TYPES_H
+// Standard:
+// http://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml
#define IFT_OTHER 0x01
#define IFT_ETHER 0x06
#define IFT_PPP 0x17
#define IFT_LOOP 0x18
#define IFT_SLIP 0x1c
+#define IFT_LOCALTALK 0x2a
#define IFT_MODEM 0x30
-#define IFT_TUN 0x40
+#define IFT_TUN 0x83
+#define IFT_L2VLAN 0x87
+#define IFT_IEEE1394 0x90
+#define IFT_BRIDGE 0xd1
#endif /* _NET_IF_TYPES_H */