From 7503ee63e571ce39ba6163de00d856b00ea2253d Mon Sep 17 00:00:00 2001 From: Kiran Bandla Date: Wed, 6 Jun 2012 15:03:44 -0400 Subject: [PATCH] Added Link Layer Discovery Protocol to ethernet.py Applied the patch from http://code.google.com/p/dpkt/issues/detail?id=85 --- dpkt/ethernet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dpkt/ethernet.py b/dpkt/ethernet.py index ab523ce..cbf3a5a 100644 --- a/dpkt/ethernet.py +++ b/dpkt/ethernet.py @@ -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