• POX Wiki

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: inserted hint on "getNameForType" (ethernet)

...

  • IP_TYPE, ARP_TYPE, RARP_TYPE, VLAN_TYPE, LLDP_TYPE, JUMBO_TYPE, QINQ_TYPE - A variety of ethertypes

Pretty-print ethertype as string:

Code Block
languagepy
pkt.ETHERNET.ethernet.getNameForType(packet.type)

 

IP version 4 (ipv4)

Attributes:

...