diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-12-07 21:52:39 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-12-07 21:52:39 +0000 |
commit | bd85d2acff58226498b294b9d51749150ca83e5f (patch) | |
tree | 92b298a2c0b88b54d3322057a4083620063c6ba1 /usr.sbin/tcpdump/interface.h | |
parent | 0353f09e77ff22774bad03b240fe70961379a98b (diff) |
add vrrp printing; from tcpdump.org
Diffstat (limited to 'usr.sbin/tcpdump/interface.h')
-rw-r--r-- | usr.sbin/tcpdump/interface.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/interface.h b/usr.sbin/tcpdump/interface.h index faff4f3c59c..2e31910fa20 100644 --- a/usr.sbin/tcpdump/interface.h +++ b/usr.sbin/tcpdump/interface.h @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.h,v 1.18 2000/10/19 16:31:42 jason Exp $ */ +/* $OpenBSD: interface.h,v 1.19 2000/12/07 21:52:38 mickey 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.18 2000/10/19 16:31:42 jason Exp $ (LBL) + * @(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/interface.h,v 1.19 2000/12/07 21:52:38 mickey Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -199,6 +199,7 @@ extern void isoclns_print(const u_char *, u_int, u_int, const u_char *, const u_char *); extern void krb_print(const u_char *, u_int); extern void l2tp_print(const u_char *dat, u_int length); +extern void vrrp_print(const u_char *bp, u_int len, int ttl); extern void nfsreply_print(const u_char *, u_int, const u_char *); extern void nfsreq_print(const u_char *, u_int, const u_char *); extern void ns_print(const u_char *, u_int); @@ -238,3 +239,5 @@ extern int rt6_print(const u_char *, const u_char *); extern void ospf6_print(const u_char *, u_int); extern void dhcp6_print(const u_char *, u_int, u_short, u_short); #endif /*INET6*/ + +extern u_short in_cksum(const u_short *addr, register int len, u_short csum); |