Skip to content

Commit

Permalink
Add an ethertype for test protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnn3 committed Apr 14, 2017
1 parent 153c1e4 commit a4cfe48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcs/packets/ethernet_map.py
Expand Up @@ -47,6 +47,7 @@
ETHERTYPE_MPLS = 0x8847 # unicast
ETHERTYPE_MPLS_M = 0x8848 # multicast
ETHERTYPE_SLOW = 0x8809 # 802.3ad link aggregation (LACP)
ETHERTYPE_TEST = 0x8822 # Ethertype for test protocols ONLY

map = {ETHERTYPE_IP: ipv4.ipv4,
ETHERTYPE_ARP: arp.arp,
Expand Down

0 comments on commit a4cfe48

Please sign in to comment.