Some patchups for when this code is compiled in userland (!).
This commit is contained in:
parent
09410d0f8b
commit
0be272dc79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34751
@ -6,7 +6,7 @@
|
||||
* to the original author and the contributors.
|
||||
*/
|
||||
#if !defined(lint)
|
||||
static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.1.1.1 1997/11/16 05:55:52 peter Exp $";
|
||||
static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.2 1998/03/21 11:33:59 peter Exp $";
|
||||
#endif
|
||||
|
||||
#if defined(KERNEL) && !defined(_KERNEL)
|
||||
@ -58,6 +58,9 @@ static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.1.1.1 1997/11/16 05:55:52 pe
|
||||
#ifdef sun
|
||||
#include <net/af.h>
|
||||
#endif
|
||||
#if !defined(KERNEL) && (__FreeBSD_version >= 300000)
|
||||
# include <net/if_var.h>
|
||||
#endif
|
||||
#include <net/route.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_systm.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
* to the original author and the contributors.
|
||||
*
|
||||
* @(#)ip_fil.h 1.35 6/5/96
|
||||
* $Id: ip_fil.h,v 2.0.2.39.2.10 1997/12/03 10:02:30 darrenr Exp $
|
||||
* $Id: ip_fil.h,v 1.1.1.5 1998/03/21 10:11:12 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef __IP_FIL_H__
|
||||
@ -373,6 +373,7 @@ typedef struct ipflog {
|
||||
#endif
|
||||
|
||||
#ifndef _KERNEL
|
||||
struct ifnet;
|
||||
extern int fr_check __P((ip_t *, int, void *, int, mb_t **));
|
||||
extern int (*fr_checkp) __P((ip_t *, int, void *, int, mb_t **));
|
||||
extern int send_reset __P((ip_t *, struct ifnet *));
|
||||
|
Loading…
Reference in New Issue
Block a user