Deleted Added
full compact
ip_log.c (60857) ip_log.c (60925)
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 $
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 60857 2000-05-24 04:40:17Z darrenr $
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_log.c 60925 2000-05-25 16:24:46Z 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__
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(_KERNEL) && !defined(IPFILTER_LKM)
20# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
21# include "opt_ipfilter.h"
19# if defined(IPFILTER_LKM) || defined(_KERNEL)
20# if !defined(__FreeBSD_version)
21# include <sys/osreldate.h>
22# endif
22# endif
23# if !defined(IPFILTER_LKM)
24# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
25# include "opt_ipfilter.h"
26# endif
27# endif
23# else
24# include <osreldate.h>
25# endif
26#endif
28# else
29# include <osreldate.h>
30# endif
31#endif
27#ifdef IPFILTER_LOG
32#ifdef IPFILTER_LOG
28# ifndef SOLARIS
29# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
30# endif
31# ifndef _KERNEL
32# include <stdio.h>
33# include <string.h>
34# include <stdlib.h>
35# include <ctype.h>

--- 465 unchanged lines hidden ---
33# ifndef SOLARIS
34# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
35# endif
36# ifndef _KERNEL
37# include <stdio.h>
38# include <string.h>
39# include <stdlib.h>
40# include <ctype.h>

--- 465 unchanged lines hidden ---