Deleted Added
full compact
ip_log.c (60925) ip_log.c (63523)
1/*
2 * Copyright (C) 1997-2000 by Darren Reed.
3 *
4 * Redistribution and use in source and binary forms are permitted
5 * provided that this notice is preserved and due credit is given
6 * to the original author and the contributors.
7 *
1/*
2 * Copyright (C) 1997-2000 by Darren Reed.
3 *
4 * Redistribution and use in source and binary forms are permitted
5 * provided that this notice is preserved and due credit is given
6 * to the original author and the contributors.
7 *
8 * $Id: ip_log.c,v 2.1.2.2 1999/09/21 11:55:44 darrenr Exp $
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_log.c 60925 2000-05-25 16:24:46Z darrenr $
8 * $Id: ip_log.c,v 2.5.2.1 2000/07/19 13:11:47 darrenr Exp $
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_log.c 63523 2000-07-19 14:02:09Z darrenr $
10 */
11#include <sys/param.h>
12#if defined(KERNEL) && !defined(_KERNEL)
13# define _KERNEL
14#endif
15#if defined(__NetBSD__) && (NetBSD >= 199905) && !defined(IPFILTER_LKM)
16# include "opt_ipfilter_log.h"
17#endif
18#ifdef __FreeBSD__
19# if defined(IPFILTER_LKM) || defined(_KERNEL)
20# if !defined(__FreeBSD_version)
21# include <sys/osreldate.h>
22# endif
23# if !defined(IPFILTER_LKM)
24# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
25# include "opt_ipfilter.h"
26# endif
27# endif
28# else
10 */
11#include <sys/param.h>
12#if defined(KERNEL) && !defined(_KERNEL)
13# define _KERNEL
14#endif
15#if defined(__NetBSD__) && (NetBSD >= 199905) && !defined(IPFILTER_LKM)
16# include "opt_ipfilter_log.h"
17#endif
18#ifdef __FreeBSD__
19# if defined(IPFILTER_LKM) || defined(_KERNEL)
20# if !defined(__FreeBSD_version)
21# include <sys/osreldate.h>
22# endif
23# if !defined(IPFILTER_LKM)
24# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
25# include "opt_ipfilter.h"
26# endif
27# endif
28# else
29# include <osreldate.h>
29# ifdef KLD_MODULE
30# include <sys/osreldate.h>
31# else
32# include <osreldate.h>
33# endif
30# endif
31#endif
32#ifdef IPFILTER_LOG
33# ifndef SOLARIS
34# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
35# endif
36# ifndef _KERNEL
37# include <stdio.h>

--- 468 unchanged lines hidden ---
34# endif
35#endif
36#ifdef IPFILTER_LOG
37# ifndef SOLARIS
38# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
39# endif
40# ifndef _KERNEL
41# include <stdio.h>

--- 468 unchanged lines hidden ---