#include <net/if_types.h>
net/if_types.h
macroIFT_STARLAN
#define IFT_STARLAN 0xb
macroIFT_FDDI
#define IFT_FDDI 0xf
macroIFT_LAPB
#define IFT_LAPB 0x10
macroIFT_SDLC
#define IFT_SDLC 0x11
macroIFT_T1
#define IFT_T1 0x12
macroIFT_ISDNBASIC
#define IFT_ISDNBASIC 0x14
macroIFT_ISDNPRIMARY
#define IFT_ISDNPRIMARY 0x15
macroIFT_RS232
#define IFT_RS232 0x21
macroIFT_ARCNET
#define IFT_ARCNET 0x23
macroIFT_ARCNETPLUS
#define IFT_ARCNETPLUS 0x24
macroIFT_MIOX25
#define IFT_MIOX25 0x26
macroIFT_X25PLE
#define IFT_X25PLE 0x28
macroIFT_ISO88022LLC
#define IFT_ISO88022LLC 0x29
macroIFT_LOCALTALK
#define IFT_LOCALTALK 0x2a
macroIFT_SMDSDXI
#define IFT_SMDSDXI 0x2b
macroIFT_V35
#define IFT_V35 0x2d
macroIFT_HSSI
#define IFT_HSSI 0x2e
macroIFT_HIPPI
#define IFT_HIPPI 0x2f
macroIFT_SONETPATH
#define IFT_SONETPATH 0x32
macroIFT_SONETVT
#define IFT_SONETVT 0x33
macroIFT_GIF
IFT_GIF, IFT_FAITH and IFT_6LOWPAN are not based on IANA assignments.
Note: IFT_STF has a defined ifType: 0xd7 (215), but we use 0x39.
#define IFT_GIF 0x37
0xf0