#include <net/if_types.h>

net/if_types.h

includes: sys/appleapiopts.h
69 macros

macroIFT_OTHER

#define IFT_OTHER 0x1
none of the following

macroIFT_1822

#define IFT_1822 0x2
old-style arpanet imp

macroIFT_HDH1822

#define IFT_HDH1822 0x3
HDH arpanet imp

macroIFT_X25DDN

#define IFT_X25DDN 0x4
x25 to imp

macroIFT_X25

#define IFT_X25 0x5
PDN X25 interface (RFC877)

macroIFT_ETHER

#define IFT_ETHER 0x6
Ethernet CSMACD

macroIFT_ISO88023

#define IFT_ISO88023 0x7
CMSA CD

macroIFT_ISO88024

#define IFT_ISO88024 0x8
Token Bus

macroIFT_ISO88025

#define IFT_ISO88025 0x9
Token Ring

macroIFT_ISO88026

#define IFT_ISO88026 0xa
MAN

macroIFT_STARLAN

#define IFT_STARLAN 0xb

macroIFT_P10

#define IFT_P10 0xc
Proteon 10MBit ring

macroIFT_P80

#define IFT_P80 0xd
Proteon 80MBit ring

macroIFT_HY

#define IFT_HY 0xe
Hyperchannel

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_CEPT

#define IFT_CEPT 0x13
E1 - european T1

macroIFT_ISDNBASIC

#define IFT_ISDNBASIC 0x14

macroIFT_ISDNPRIMARY

#define IFT_ISDNPRIMARY 0x15

macroIFT_PTPSERIAL

#define IFT_PTPSERIAL 0x16
Proprietary PTP serial

macroIFT_PPP

#define IFT_PPP 0x17
RFC 1331

macroIFT_LOOP

#define IFT_LOOP 0x18
loopback

macroIFT_EON

#define IFT_EON 0x19
ISO over IP

macroIFT_XETHER

#define IFT_XETHER 0x1a
obsolete 3MB experimental ethernet

macroIFT_NSIP

#define IFT_NSIP 0x1b
XNS over IP

macroIFT_SLIP

#define IFT_SLIP 0x1c
IP over generic TTY

macroIFT_ULTRA

#define IFT_ULTRA 0x1d
Ultra Technologies

macroIFT_DS3

#define IFT_DS3 0x1e
Generic T3

macroIFT_SIP

#define IFT_SIP 0x1f
SMDS

macroIFT_FRELAY

#define IFT_FRELAY 0x20
Frame Relay DTE only

macroIFT_RS232

#define IFT_RS232 0x21

macroIFT_PARA

#define IFT_PARA 0x22
parallel-port

macroIFT_ARCNET

#define IFT_ARCNET 0x23

macroIFT_ARCNETPLUS

#define IFT_ARCNETPLUS 0x24

macroIFT_ATM

#define IFT_ATM 0x25
ATM cells

macroIFT_MIOX25

#define IFT_MIOX25 0x26

macroIFT_SONET

#define IFT_SONET 0x27
SONET or SDH

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_FRELAYDCE

#define IFT_FRELAYDCE 0x2c
Frame Relay DCE

macroIFT_V35

#define IFT_V35 0x2d

macroIFT_HSSI

#define IFT_HSSI 0x2e

macroIFT_HIPPI

#define IFT_HIPPI 0x2f

macroIFT_MODEM

#define IFT_MODEM 0x30
Generic Modem

macroIFT_AAL5

#define IFT_AAL5 0x31
AAL5 over ATM

macroIFT_SONETPATH

#define IFT_SONETPATH 0x32

macroIFT_SONETVT

#define IFT_SONETVT 0x33

macroIFT_SMDSICIP

#define IFT_SMDSICIP 0x34
SMDS InterCarrier Interface

macroIFT_PROPVIRTUAL

#define IFT_PROPVIRTUAL 0x35
Proprietary Virtual/internal

macroIFT_PROPMUX

#define IFT_PROPMUX 0x36
Proprietary Multiplexing

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

macroIFT_FAITH

#define IFT_FAITH 0x38
0xf2

macroIFT_STF

#define IFT_STF 0x39
0xf3

macroIFT_6LOWPAN

#define IFT_6LOWPAN 0x40
IETF RFC 6282

macroIFT_L2VLAN

#define IFT_L2VLAN 0x87
Layer 2 Virtual LAN using 802.1Q

macroIFT_IEEE8023ADLAG

#define IFT_IEEE8023ADLAG 0x88
IEEE802.3ad Link Aggregate

macroIFT_IEEE1394

#define IFT_IEEE1394 0x90
IEEE1394 High Performance SerialBus

macroIFT_BRIDGE

#define IFT_BRIDGE 0xd1
Transparent bridge interface

macroIFT_ENC

#define IFT_ENC 0xf4
Encapsulation

macroIFT_PFLOG

#define IFT_PFLOG 0xf5
Packet filter logging

macroIFT_PFSYNC

#define IFT_PFSYNC 0xf6
Packet filter state syncing

macroIFT_CARP

#define IFT_CARP 0xf8
Common Address Redundancy Protocol

macroIFT_PKTAP

#define IFT_PKTAP 0xfe
Packet tap pseudo interface

macroIFT_CELLULAR

#define IFT_CELLULAR 0xff
Packet Data over Cellular

macroIFT_PDP

#define IFT_PDP IFT_CELLULAR
deprecated; use IFT_CELLULAR