diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2009-03-11 05:53:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-13 15:09:29 -0400 |
commit | 273ae44b9cb9443e0b5265cdc99f127ddb95c8db (patch) | |
tree | 88f3aa4ceb38700451b3f95d8be789e2624992da | |
parent | 9a8afc8d3962f3ed26fd6b56db34133860ed1e72 (diff) |
Network Drop Monitor: Adding Build changes to enable drop monitor
Network Drop Monitor: Adding Build changes to enable drop monitor
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
include/linux/Kbuild | 1 +
net/Kconfig | 11 +++++++++++
net/core/Makefile | 1 +
3 files changed, 13 insertions(+)
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | net/Kconfig | 11 | ||||
-rw-r--r-- | net/core/Makefile | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 106c3ba5084..e9581fd9fb6 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -115,6 +115,7 @@ header-y += mqueue.h | |||
115 | header-y += mtio.h | 115 | header-y += mtio.h |
116 | header-y += ncp_no.h | 116 | header-y += ncp_no.h |
117 | header-y += neighbour.h | 117 | header-y += neighbour.h |
118 | header-y += net_dropmon.h | ||
118 | header-y += netfilter_arp.h | 119 | header-y += netfilter_arp.h |
119 | header-y += netrom.h | 120 | header-y += netrom.h |
120 | header-y += nfs2.h | 121 | header-y += nfs2.h |
diff --git a/net/Kconfig b/net/Kconfig index 6b39ede3b1b..c9fdcd7e71e 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -222,6 +222,17 @@ config NET_TCPPROBE | |||
222 | To compile this code as a module, choose M here: the | 222 | To compile this code as a module, choose M here: the |
223 | module will be called tcp_probe. | 223 | module will be called tcp_probe. |
224 | 224 | ||
225 | config NET_DROP_MONITOR | ||
226 | boolean "Network packet drop alerting service" | ||
227 | depends on INET && EXPERIMENTAL && TRACEPOINTS | ||
228 | ---help--- | ||
229 | This feature provides an alerting service to userspace in the | ||
230 | event that packets are discarded in the network stack. Alerts | ||
231 | are broadcast via netlink socket to any listening user space | ||
232 | process. If you don't need network drop alerts, or if you are ok | ||
233 | just checking the various proc files and other utilities for | ||
234 | drop statistics, say N here. | ||
235 | |||
225 | endmenu | 236 | endmenu |
226 | 237 | ||
227 | endmenu | 238 | endmenu |
diff --git a/net/core/Makefile b/net/core/Makefile index d47092bc525..796f46eece5 100644 --- a/net/core/Makefile +++ b/net/core/Makefile | |||
@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o | |||
18 | obj-$(CONFIG_NET_DMA) += user_dma.o | 18 | obj-$(CONFIG_NET_DMA) += user_dma.o |
19 | obj-$(CONFIG_FIB_RULES) += fib_rules.o | 19 | obj-$(CONFIG_FIB_RULES) += fib_rules.o |
20 | obj-$(CONFIG_TRACEPOINTS) += net-traces.o | 20 | obj-$(CONFIG_TRACEPOINTS) += net-traces.o |
21 | obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o | ||
21 | 22 | ||