ipfilter.patch
| sys/net/ipfilter/Makefile 18 Dec 2006 19:03:08 -0000 | ||
|---|---|---|
| 6 | 6 |
SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ |
| 7 | 7 |
ip_log.c ip_fil.c fil.c |
| 8 | 8 |
NOMAN= |
| 9 |
.if !defined(NOINET6) |
|
| 10 |
CFLAGS+= -DUSE_INET6 |
|
| 11 |
.endif |
|
| 9 | ||
| 10 |
CFLAGS+= -include ipf_inet6.h |
|
| 12 | 11 |
CFLAGS+= -DIPFILTER_LKM -DIPFILTER_LOG |
| 13 |
CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter
|
|
| 12 |
CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter -I${.CURDIR}
|
|
| 14 | 13 |
# |
| 15 | 14 |
# If you don't want log functionality remove -DIPFILTER_LOG |
| 16 | 15 |
# |
| sys/net/ipfilter/ipf_inet6.h 18 Dec 2006 19:06:43 -0000 | ||
|---|---|---|
| 1 |
/* $DragonFly$ */ |
|
| 2 | ||
| 3 |
/* This file uses the kernel config to determine if IPV6 should be used. */ |
|
| 4 |
#include "opt_inet6.h" |
|
| 5 | ||
| 6 |
#ifdef INET6 |
|
| 7 |
#define USE_INET6 1 |
|
| 8 |
#endif |
|