mirror of https://github.com/kbandla/dpkt.git
Added Link Layer Discovery Protocol to ethernet.py
Applied the patch from http://code.google.com/p/dpkt/issues/detail?id=85
This commit is contained in:
parent
f2eabcaf2c
commit
7503ee63e5
|
@ -30,6 +30,7 @@ ETH_TYPE_MPLS = 0x8847 # MPLS
|
|||
ETH_TYPE_MPLS_MCAST = 0x8848 # MPLS Multicast
|
||||
ETH_TYPE_PPPoE_DISC = 0x8863 # PPP Over Ethernet Discovery Stage
|
||||
ETH_TYPE_PPPoE = 0x8864 # PPP Over Ethernet Session Stage
|
||||
ETH_TYPE_LLDP = 0x88CC # Link Layer Discovery Protocol
|
||||
|
||||
# MPLS label stack fields
|
||||
MPLS_LABEL_MASK = 0xfffff000
|
||||
|
|
Loading…
Reference in New Issue