diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-05-06 18:19:58 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-05-06 18:19:58 +0000 |
commit | 2b2c2a8b666b5d6fd19bd3cf86c81751fd2411ea (patch) | |
tree | c6dd9cfb69447db33cf61de759518708cb79dba1 | |
parent | eb42c6c103538dc9a55b1e22edfd3799577bec87 (diff) | |
download | FreeBSD-src-2b2c2a8b666b5d6fd19bd3cf86c81751fd2411ea.zip FreeBSD-src-2b2c2a8b666b5d6fd19bd3cf86c81751fd2411ea.tar.gz |
Add #include <machine/in_cksum.h>, in order to pick up the checksum
inline functions and prototypes.
-rw-r--r-- | sys/netinet/igmp.c | 2 | ||||
-rw-r--r-- | sys/netinet/in.h | 1 | ||||
-rw-r--r-- | sys/netinet/ip_icmp.c | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 37f2cc7..77be25b 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -69,6 +69,8 @@ #include <netinet/igmp.h> #include <netinet/igmp_var.h> +#include <machine/in_cksum.h> + static MALLOC_DEFINE(M_IGMP, "igmp", "igmp state"); static struct router_info * diff --git a/sys/netinet/in.h b/sys/netinet/in.h index adb9524..dbff92a 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -452,7 +452,6 @@ struct proc; int in_broadcast __P((struct in_addr, struct ifnet *)); int in_canforward __P((struct in_addr)); -int in_cksum __P((struct mbuf *, int)); int in_localaddr __P((struct in_addr)); char *inet_ntoa __P((struct in_addr)); /* in libkern */ diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index c2f464e..1b2a14e 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -67,6 +67,8 @@ #include <net/if_types.h> #endif +#include <machine/in_cksum.h> + /* * ICMP routines: error generation, receive packet processing, and * routines to turnaround packets back to the originator, and |