summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-09-16 20:35:28 +0000
committerglebius <glebius@FreeBSD.org>2004-09-16 20:35:28 +0000
commit24d5357ce0f9243cf33d6b3ba6b32bfd5d3505c7 (patch)
treea5d4788ffb59a44b3d94a5b8af61d544fea7b634 /sys
parentbc5c118b8ecaa43e95a4cdd4a219199e09c1f187 (diff)
downloadFreeBSD-src-24d5357ce0f9243cf33d6b3ba6b32bfd5d3505c7.zip
FreeBSD-src-24d5357ce0f9243cf33d6b3ba6b32bfd5d3505c7.tar.gz
Attach ng_netflow to kernel build.
Approved by: julian (mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files2
-rw-r--r--sys/conf/options1
-rw-r--r--sys/modules/netgraph/Makefile1
-rw-r--r--sys/modules/netgraph/netflow/Makefile11
5 files changed, 16 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index edcf74a..93907eb 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -483,6 +483,7 @@ options NETGRAPH_LMI
# MPPC compression requires proprietary files (not included)
#options NETGRAPH_MPPC_COMPRESSION
options NETGRAPH_MPPC_ENCRYPTION
+options NETGRAPH_NETFLOW
options NETGRAPH_ONE2MANY
options NETGRAPH_PPP
options NETGRAPH_PPPOE
diff --git a/sys/conf/files b/sys/conf/files
index 02ddce1..ec8de25 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1453,6 +1453,8 @@ netgraph/ng_lmi.c optional netgraph_lmi
netgraph/ng_l2tp.c optional netgraph_l2tp
netgraph/ng_mppc.c optional netgraph_mppc_compression
netgraph/ng_mppc.c optional netgraph_mppc_encryption
+netgraph/netflow/ng_netflow.c optional netgraph_netflow
+netgraph/netflow/netflow.c optional netgraph_netflow
crypto/rc4/rc4.c optional wlan
crypto/rc4/rc4.c optional netgraph_mppc_encryption
crypto/sha1.c optional netgraph_mppc_encryption
diff --git a/sys/conf/options b/sys/conf/options
index 0ea8f9e..5820d72 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -409,6 +409,7 @@ NETGRAPH_LMI opt_netgraph.h
# MPPC compression requires proprietary files (not included)
NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
+NETGRAPH_NETFLOW opt_netgraph.h
NETGRAPH_ONE2MANY opt_netgraph.h
NETGRAPH_PPP opt_netgraph.h
NETGRAPH_PPPOE opt_netgraph.h
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index 150177c..a811be0 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -24,6 +24,7 @@ SUBDIR= UI \
l2tp \
lmi \
${_mppc} \
+ netflow \
netgraph \
one2many \
ppp \
diff --git a/sys/modules/netgraph/netflow/Makefile b/sys/modules/netgraph/netflow/Makefile
new file mode 100644
index 0000000..b1b9ba5
--- /dev/null
+++ b/sys/modules/netgraph/netflow/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+#
+# Author: Gleb Smirnoff <glebius@freebsd.org>
+#
+
+.PATH: ${.CURDIR}/../../../netgraph/netflow
+
+KMOD= ng_netflow
+SRCS= ng_netflow.c netflow.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud