From 57bfcb4ebe253111f5d0c12e2269846678306c2a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 17 Jun 2011 01:09:16 -0700 Subject: Add a routine to do the "checksum with pseudo-header" stuff for IPv4. Clean up some other stuff while we're at it. --- ip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip.h') diff --git a/ip.h b/ip.h index fd53503e..8a97632e 100644 --- a/ip.h +++ b/ip.h @@ -161,4 +161,4 @@ struct ip_timestamp { #define IP_MSS 576 /* default maximum segment size */ /* in print-ip.c */ -extern u_int32_t ip_finddst(const struct ip *); +extern int nextproto4_cksum(const struct ip *, const u_int8_t *, u_int, u_int); -- cgit v1.2.1