Skip to contentSkip to conversation

: Introduce dccp_probe

PATCH In review Arnaldo Carvalho de Melo 1 participant 1 message Sep 24, 2006 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 : Introduce dccp_probe

Hi David,

Please consider pulling from:

master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.git

Best Regards,

- Arnaldo

This adds DCCP probing shamelessly ripped off from TCP probes by Stephen Hemminger.

I've put in here support for further CCID3 variables as well. Andrea/Arnaldo might look to extend for CCID2.

---
 net/dccp/Kconfig  |   16 ++++
 net/dccp/Makefile |    2 +
 net/dccp/probe.c  |  198 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 216 insertions(+), 0 deletions(-)
net/dccp/Kconfig +16 -0
index 859e335..e2a095d 100644
@@ -40,6 +40,22 @@ config IP_DCCP_DEBUG
 
 	  Just say N.
 
+config NET_DCCPPROBE
+	tristate "DCCP connection probing"
+	depends on PROC_FS && KPROBES
+	---help---
+	This module allows for capturing the changes to DCCP connection
+	state in response to incoming packets. It is used for debugging
+	DCCP congestion avoidance modules. If you don't understand
+	what was just said, you don't need it: say N.
+
+	Documentation on how to use the packet generator can be found
+	at http://linux-net.osdl.org/index.php/DccpProbe
+
+	To compile this code as a module, choose M here: the
+	module will be called dccp_probe.
+
+
 endmenu
 
 endmenu
net/dccp/Makefile +2 -0
index 7696e21..17ed99c 100644
@@ -11,9 +11,11 @@ dccp_ipv4-y := ipv4.o
 dccp-$(CONFIG_IP_DCCP_ACKVEC) += ackvec.o
 
 obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
+obj-$(CONFIG_NET_DCCPPROBE) += dccp_probe.o
 
 dccp-$(CONFIG_SYSCTL) += sysctl.o
 
 dccp_diag-y := diag.o
+dccp_probe-y := probe.o
 
 obj-y += ccids/
net/dccp/probe.c new file +198 -0

198 lines not on this page · raw message

Signature · 1 line
1.4.2.1.g3d5c