1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Add #include <machine/in_cksum.h>, in order to pick up the checksum

inline functions and prototypes.
This commit is contained in:
Jonathan Lemon 2000-05-06 18:19:58 +00:00
parent cb1a6557e1
commit 72a52a35b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60105
3 changed files with 4 additions and 1 deletions

View File

@ -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 *

View File

@ -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 */

View File

@ -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