Deleted Added
full compact
ip_auth.c (183550) ip_auth.c (207369)
1/* $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.c 183550 2008-10-02 15:37:58Z zec $ */
1/* $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.c 207369 2010-04-29 11:52:42Z bz $ */
2
3/*
4 * Copyright (C) 1998-2003 by Darren Reed & Guido van Rooij.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
8#if defined(KERNEL) || defined(_KERNEL)
9# undef KERNEL

--- 55 unchanged lines hidden (view full) ---

65#include <net/if.h>
66#ifdef sun
67# include <net/af.h>
68#endif
69#include <net/route.h>
70#include <netinet/in.h>
71#include <netinet/in_systm.h>
72#include <netinet/ip.h>
2
3/*
4 * Copyright (C) 1998-2003 by Darren Reed & Guido van Rooij.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
8#if defined(KERNEL) || defined(_KERNEL)
9# undef KERNEL

--- 55 unchanged lines hidden (view full) ---

65#include <net/if.h>
66#ifdef sun
67# include <net/af.h>
68#endif
69#include <net/route.h>
70#include <netinet/in.h>
71#include <netinet/in_systm.h>
72#include <netinet/ip.h>
73#if !defined(_KERNEL) && defined(__FreeBSD_version) && \
74 __FreeBSD_version >= 800049
75# define V_ip_do_randomid ip_do_randomid
76# define V_ip_id ip_id
77#endif
78#if !defined(_KERNEL) && !defined(__osf__) && !defined(__sgi)
79# define KERNEL
80# define _KERNEL
81# define NOT_KERNEL
82#endif
83#if !defined(linux)
84# include <netinet/ip_var.h>
85#endif

--- 34 unchanged lines hidden (view full) ---

120# if defined(_KERNEL) && !defined(IPFILTER_LKM)
121# include <sys/libkern.h>
122# include <sys/systm.h>
123# endif
124#endif
125/* END OF INCLUDES */
126
127#if !defined(lint)
73#if !defined(_KERNEL) && !defined(__osf__) && !defined(__sgi)
74# define KERNEL
75# define _KERNEL
76# define NOT_KERNEL
77#endif
78#if !defined(linux)
79# include <netinet/ip_var.h>
80#endif

--- 34 unchanged lines hidden (view full) ---

115# if defined(_KERNEL) && !defined(IPFILTER_LKM)
116# include <sys/libkern.h>
117# include <sys/systm.h>
118# endif
119#endif
120/* END OF INCLUDES */
121
122#if !defined(lint)
128static const char rcsid[] = "@(#)$FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.c 183550 2008-10-02 15:37:58Z zec $";
123static const char rcsid[] = "@(#)$FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.c 207369 2010-04-29 11:52:42Z bz $";
129/* static const char rcsid[] = "@(#)$Id: ip_auth.c,v 2.73.2.24 2007/09/09 11:32:04 darrenr Exp $"; */
130#endif
131
132
133#if SOLARIS && defined(_KERNEL)
134extern kcondvar_t ipfauthwait;
135extern struct pollhead iplpollhead[IPL_LOGSIZE];
136#endif /* SOLARIS */

--- 912 unchanged lines hidden ---
124/* static const char rcsid[] = "@(#)$Id: ip_auth.c,v 2.73.2.24 2007/09/09 11:32:04 darrenr Exp $"; */
125#endif
126
127
128#if SOLARIS && defined(_KERNEL)
129extern kcondvar_t ipfauthwait;
130extern struct pollhead iplpollhead[IPL_LOGSIZE];
131#endif /* SOLARIS */

--- 912 unchanged lines hidden ---