diff options
author | hannes <hannes> | 2006-02-10 04:52:25 +0000 |
---|---|---|
committer | hannes <hannes> | 2006-02-10 04:52:25 +0000 |
commit | 0860434f38178598fff25ede38436ff55ffedce5 (patch) | |
tree | a4f86557cb50db7cdfe1562aecfba29352abd0e3 /print-ether.c | |
parent | 960aee5c35d09ae8bddcf2e4fa282d15141214d6 (diff) | |
download | tcpdump-0860434f38178598fff25ede38436ff55ffedce5.tar.gz |
add basic support for MPCP 802.3ah frame printer
Diffstat (limited to 'print-ether.c')
-rw-r--r-- | print-ether.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/print-ether.c b/print-ether.c index 6766faba..ecd5ba87 100644 --- a/print-ether.c +++ b/print-ether.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.100 2005-11-13 12:12:41 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.101 2006-02-10 04:52:25 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -65,6 +65,7 @@ const struct tok ethertype_values[] = { { ETHERTYPE_AARP, "Appletalk ARP" }, { ETHERTYPE_IPX, "IPX" }, { ETHERTYPE_PPP, "PPP" }, + { ETHERTYPE_MPCP, "MPCP" }, { ETHERTYPE_SLOW, "Slow Protocols" }, { ETHERTYPE_PPPOED, "PPPoE D" }, { ETHERTYPE_PPPOES, "PPPoE S" }, @@ -295,6 +296,10 @@ ether_encap_print(u_short ether_type, const u_char *p, } return (1); + case ETHERTYPE_MPCP: + mpcp_print(p, length); + return (1); + case ETHERTYPE_SLOW: slow_print(p, length); return (1); |