Supported Protocols

PacketSmith supports a range of fundamental protocols across various OSI Model layers, including specific encapsulation protocols. The number of protocols it supports is limited and carefully selected to address specific types of problems related to those protocols.


  • L2 – Data Link Layer
LINKTYPE_ nameDLT_ nameLINKTYPE_ value
LINKTYPE_NULLDLT_NULL (BSD loopback encapsulation)0x00000000
LINKTYPE_ETHERNETDLT_EN10MB (IEEE 802.3)0x01000000
FakeNetFakeNet (Dynamic Network Analysis Tool)0x0c000000
LINKTYPE_RAWDLT_RAW (Raw IP)0x65000000
LINKTYPE_C_HDLCDLT_C_HDLC (Cisco PPP with HDLC framing)0x68000000
LINKTYPE_LOOPDLT_LOOP (OpenBSD loopback encapsulation)0x6c000000
LINKTYPE_LINUX_SLLDLT_LINUX_SLL (Linux cooked capture encapsulation)0x71000000
LINKTYPE_LINUX_SLL2DLT_LINUX_SLL2 (Linux cooked capture encapsulation v2)0x14010000
IEEE 802.1Q802.1Q Virtual LAN (Customer VLAN Tag Type – Q-Tag)0x8100
LINKTYPE_JUNIPER_ETHERDLT_JUNIPER_ETHER (Juniper Networks private data link type)0xb2000000
  • L3 – Network Layer
Name Ethertype value
IPv4 - Internet Protocol version 4 0x0800
IPv6 - Internet Protocol version 6 0x86dd
ARP - Address Resolution Protocol 0x0806
RARP - Reverse Address Resolution Protocol 0x8035
WoL - Wake-on-LAN 0x0842
IPv4e - IPv4 encapsulation 0x04
IPv6e – IPv6 encapsulation 0x29
ESP - Encap Security Payload (with IPv4/IPv6) 0x32
AH – Authentication Header (with IPv4) 0x33

For the IPv6 protocol, PacketSmith accounts for the following list of extensions:

  • 0x00: Hop-by-Hop Options
  • 0x2c: Fragment
  • 0x3c: Destination Options
  • 0x2b: Routing
  • 0x33: Authentication
  • 0x32: Encapsulating Security Payload
  • 0x87: Mobility
  • L4 – Transport Layer
NameProtocol Number
TCP - Transmission Control0x06
UDP - User Datagram0x11
UDP-Lite0x88
ICMP - Internet Control Message0x01
ICMPv6 - (IPv6-ICMP) - ICMP for IPv60x3a
IGMP - Internet Group Management0x02
  • L5 – Application Layer

PacketSmith supports other overlay/encapsulation layers, including:

  • Virtual eXtensible LAN (VXLAN)
    • Note that this layer is not parsed by default unless the –takeoff option with the argument vxlan is specified.
  • Virtual LAN (VLAN)