diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-03-28 15:48:35 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-03-28 15:48:35 +0000 |
commit | d9940f1f9b9527cb02647235d5d3ab16e1efd331 (patch) | |
tree | ef52e3f672c65fe9de76e003c02ed7873badae63 /usr.sbin/tcpdump/interface.h | |
parent | cff9071d88082990af47a0a05d95dfb54bdff887 (diff) |
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 97608a95140..91684a0ab5f 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: /cvs/OpenBSD/src/usr.sbin/tcpdump/interface.h,v 1.51 2005/11/22 11:36:12 reyk Exp $ (LBL) + * @(#) $Header: /cvs/OpenBSD/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); |