From be2bde20765059788da4f53cbbda7ab9b0b9e126 Mon Sep 17 00:00:00 2001 From: Marco Pfatschbacher Date: Thu, 16 Oct 2008 12:57:02 +0000 Subject: Add support for IEEE "slow protocols" LACP, MARKER as per 802.3ad. Code from tcpdump.org with cleanup and shrinkage by me. Help and ideas for extra sanity checks from canacar@ OK canacar@ --- usr.sbin/tcpdump/interface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/tcpdump/interface.h') diff --git a/usr.sbin/tcpdump/interface.h b/usr.sbin/tcpdump/interface.h index faa67284d3b..8a226682fd4 100644 --- a/usr.sbin/tcpdump/interface.h +++ b/usr.sbin/tcpdump/interface.h @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.h,v 1.56 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: interface.h,v 1.57 2008/10/16 12:57:01 mpf 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. * - * @(#) $Id: interface.h,v 1.56 2007/10/07 16:41:05 deraadt Exp $ (LBL) + * @(#) $Id: interface.h,v 1.57 2008/10/16 12:57:01 mpf Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -277,6 +277,7 @@ extern void etherip_print(const u_char *, u_int, 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); +extern void slow_print(const u_char *, u_int); #ifdef INET6 extern void ip6_print(const u_char *, int); -- cgit v1.2.3