if_pfsync.c (228736) | if_pfsync.c (228811) |
---|---|
1/* $OpenBSD: if_pfsync.c,v 1.110 2009/02/24 05:39:19 dlg Exp $ */ 2 3/* 4 * Copyright (c) 2002 Michael Shalayeff 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 31 unchanged lines hidden (view full) --- 40 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 41 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 42 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 43 */ 44 45#ifdef __FreeBSD__ 46#include "opt_inet.h" 47#include "opt_inet6.h" | 1/* $OpenBSD: if_pfsync.c,v 1.110 2009/02/24 05:39:19 dlg Exp $ */ 2 3/* 4 * Copyright (c) 2002 Michael Shalayeff 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 31 unchanged lines hidden (view full) --- 40 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 41 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 42 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 43 */ 44 45#ifdef __FreeBSD__ 46#include "opt_inet.h" 47#include "opt_inet6.h" |
48#include "opt_bpf.h" | |
49#include "opt_pf.h" 50 51#include <sys/cdefs.h> | 48#include "opt_pf.h" 49 50#include <sys/cdefs.h> |
52__FBSDID("$FreeBSD: head/sys/contrib/pf/net/if_pfsync.c 228736 2011-12-20 13:53:31Z glebius $"); | 51__FBSDID("$FreeBSD: head/sys/contrib/pf/net/if_pfsync.c 228811 2011-12-22 18:31:47Z glebius $"); |
53 | 52 |
54#ifdef DEV_BPF 55#define NBPFILTER DEV_BPF 56#else 57#define NBPFILTER 0 58#endif | 53#define NBPFILTER 1 |
59 60#ifdef DEV_PFSYNC 61#define NPFSYNC DEV_PFSYNC 62#else 63#define NPFSYNC 0 64#endif 65#endif /* __FreeBSD__ */ 66 --- 3411 unchanged lines hidden --- | 54 55#ifdef DEV_PFSYNC 56#define NPFSYNC DEV_PFSYNC 57#else 58#define NPFSYNC 0 59#endif 60#endif /* __FreeBSD__ */ 61 --- 3411 unchanged lines hidden --- |