* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.151 2001-01-15 03:59:13 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.155 2001-03-09 05:38:20 guy Exp $ (LBL)
*/
#ifndef tcpdump_interface_h
extern size_t strlcpy (char *, const char *, size_t);
#endif
+#ifndef HAVE_STRDUP
+extern char *strdup (const char *str);
+#endif
+
struct tok {
int v; /* value */
char *s; /* string */
extern void l2tp_print(const u_char *, u_int);
extern void lcp_print(const u_char *, u_int);
extern void vrrp_print(const u_char *bp, u_int len, int ttl);
-extern void cdp_print(const u_char *p, u_int length, u_int caplen,
- const u_char *esrc, const u_char *edst);
+extern void cdp_print(const u_char *, u_int, u_int, const u_char *,
+ const u_char *);
extern void stp_print(const u_char *p, u_int length);
extern void radius_print(const u_char *, u_int);
+extern void lwres_print(const u_char *, u_int);
+extern void pptp_print(const u_char *, u_int);
#ifdef INET6
extern void ip6_print(const u_char *, int);
extern void ospf6_print(const u_char *, u_int);
extern void dhcp6_print(const u_char *, u_int, u_int16_t, u_int16_t);
#endif /*INET6*/
-extern u_short in_cksum(const u_short *addr, register int len, u_short csum);
+extern u_short in_cksum(const u_short *, register int, u_short);