diff options
| author | 2006-03-28 15:48:33 +0000 | |
|---|---|---|
| committer | 2006-03-28 15:48:33 +0000 | |
| commit | d7869ad73a59a677a0e4c21a160d18548b95b36a (patch) | |
| tree | b4e44865e8dd82c1dc74bfc97764b5e0b7aa8623 /usr.sbin/tcpdump/interface.h | |
| parent | use clock_gettime if available. (diff) | |
| download | wireguard-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/interface.h')
| -rw-r--r-- | usr.sbin/tcpdump/interface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/interface.h b/usr.sbin/tcpdump/interface.h index a60a590226e..7f874918216 100644 --- a/usr.sbin/tcpdump/interface.h +++ b/usr.sbin/tcpdump/interface.h @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.h,v 1.51 2005/11/22 11:36:12 reyk Exp $ */ +/* $OpenBSD: interface.h,v 1.52 2006/03/28 15:48:33 reyk Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -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/interface.h,v 1.51 2005/11/22 11:36:12 reyk Exp $ (LBL) + * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/interface.h,v 1.52 2006/03/28 15:48:33 reyk Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -273,6 +273,7 @@ extern void ether_print(const u_char *, u_int); extern void etherip_print(const u_char *, u_int, const u_char *); extern void ipcomp_print(const u_char *, u_int, const u_char *); extern void mpls_print(const u_char *, u_int); +extern void lldp_print(const u_char *, u_int); #ifdef INET6 extern void ip6_print(const u_char *, int); |
