summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/ethertype.h
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-03-28 15:48:33 +0000
committerreyk <reyk@openbsd.org>2006-03-28 15:48:33 +0000
commitd7869ad73a59a677a0e4c21a160d18548b95b36a (patch)
treeb4e44865e8dd82c1dc74bfc97764b5e0b7aa8623 /usr.sbin/tcpdump/ethertype.h
parentuse clock_gettime if available. (diff)
downloadwireguard-openbsd-d7869ad73a59a677a0e4c21a160d18548b95b36a.tar.xz
wireguard-openbsd-d7869ad73a59a677a0e4c21a160d18548b95b36a.zip
Add a simple printer for IEEE 802.1AB LLDP, the Link Layer Discovery
Protocol. LLDP is used by some switch vendors as a replacement for the non-free Cizzco Discovery Protocol (CDP) due to some Cisco patentry... ok brad@
Diffstat (limited to 'usr.sbin/tcpdump/ethertype.h')
-rw-r--r--usr.sbin/tcpdump/ethertype.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/ethertype.h b/usr.sbin/tcpdump/ethertype.h
index 042f292931f..d6fb99b96b2 100644
--- a/usr.sbin/tcpdump/ethertype.h
+++ b/usr.sbin/tcpdump/ethertype.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ethertype.h,v 1.10 2005/04/24 21:17:18 brad Exp $ */
+/* $OpenBSD: ethertype.h,v 1.11 2006/03/28 15:48:33 reyk Exp $ */
/*
* Copyright (c) 1993, 1994, 1996
@@ -20,7 +20,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/ethertype.h,v 1.10 2005/04/24 21:17:18 brad Exp $ (LBL)
+ * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/ethertype.h,v 1.11 2006/03/28 15:48:33 reyk Exp $ (LBL)
*/
/*
@@ -129,6 +129,9 @@
#ifndef ETHERTYPE_EAPOL
#define ETHERTYPE_EAPOL 0x888e
#endif
+#ifndef ETHERTYPE_LLDP
+#define ETHERTYPE_LLDP 0x88cc
+#endif
#ifndef ETHERTYPE_LOOPBACK
#define ETHERTYPE_LOOPBACK 0x9000
#endif