Deleted Added
full compact
pf.c (162238) pf.c (163606)
1/* $FreeBSD: head/sys/contrib/pf/net/pf.c 162238 2006-09-12 04:25:13Z csjp $ */
1/* $FreeBSD: head/sys/contrib/pf/net/pf.c 163606 2006-10-22 11:52:19Z rwatson $ */
2/* $OpenBSD: pf.c,v 1.483 2005/03/15 17:38:43 dhartmei Exp $ */
3
4/*
5 * Copyright (c) 2001 Daniel Hartmeier
6 * Copyright (c) 2002,2003 Henning Brauer
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

74#include <sys/systm.h>
75#include <sys/mbuf.h>
76#include <sys/filio.h>
77#include <sys/socket.h>
78#include <sys/socketvar.h>
79#include <sys/kernel.h>
80#include <sys/time.h>
81#ifdef __FreeBSD__
2/* $OpenBSD: pf.c,v 1.483 2005/03/15 17:38:43 dhartmei Exp $ */
3
4/*
5 * Copyright (c) 2001 Daniel Hartmeier
6 * Copyright (c) 2002,2003 Henning Brauer
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

74#include <sys/systm.h>
75#include <sys/mbuf.h>
76#include <sys/filio.h>
77#include <sys/socket.h>
78#include <sys/socketvar.h>
79#include <sys/kernel.h>
80#include <sys/time.h>
81#ifdef __FreeBSD__
82#include <sys/mac.h>
83#include <sys/sysctl.h>
84#include <sys/endian.h>
85#else
86#include <sys/pool.h>
87#endif
88
89#include <net/if.h>
90#include <net/if_types.h>

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

127#include <netinet6/in6_pcb.h>
128#endif
129#endif /* INET6 */
130
131#ifdef __FreeBSD__
132#include <machine/in_cksum.h>
133#include <sys/limits.h>
134#include <sys/ucred.h>
82#include <sys/sysctl.h>
83#include <sys/endian.h>
84#else
85#include <sys/pool.h>
86#endif
87
88#include <net/if.h>
89#include <net/if_types.h>

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

126#include <netinet6/in6_pcb.h>
127#endif
128#endif /* INET6 */
129
130#ifdef __FreeBSD__
131#include <machine/in_cksum.h>
132#include <sys/limits.h>
133#include <sys/ucred.h>
134#include <security/mac/mac_framework.h>
135
136extern int ip_optcopy(struct ip *, struct ip *);
137#endif
138
139#define DPFPRINTF(n, x) if (pf_status.debug >= (n)) printf x
140
141/*
142 * Global variables

--- 7010 unchanged lines hidden ---
135
136extern int ip_optcopy(struct ip *, struct ip *);
137#endif
138
139#define DPFPRINTF(n, x) if (pf_status.debug >= (n)) printf x
140
141/*
142 * Global variables

--- 7010 unchanged lines hidden ---