kernel_optimize_test/net/dccp
Gerrit Renker 6f4e5fff1e [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2)
This patch does the following:
  a) introduces variable-length checksums as specified in [RFC 4340, sec. 9.2]
  b) provides necessary socket options and documentation as to how to use them
  c) basic support and infrastructure for the Minimum Checksum Coverage feature
     [RFC 4340, sec. 9.2.1]: acceptability tests, user notification and user
     interface

In addition, it

 (1) fixes two bugs in the DCCPv4 checksum computation:
 	* pseudo-header used checksum_len instead of skb->len
	* incorrect checksum coverage calculation based on dccph_x
 (2) removes dccp_v4_verify_checksum() since it reduplicates code of the
     checksum computation; code calling this function is updated accordingly.
 (3) now uses skb_checksum(), which is safer than checksum_partial() if the
     sk_buff has is a non-linear buffer (has pages attached to it).
 (4) fixes an outstanding TODO item:
        * If P.CsCov is too large for the packet size, drop packet and return.

The code has been tested with applications, the latest version of tcpdump now
comes with support for partial DCCP checksums.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-02 21:22:09 -08:00
..
ccids [DCCP]: fix printk format warnings 2006-10-30 15:24:37 -08:00
ackvec.c [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
ackvec.h [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
ccid.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ccid.h [DCCP] options: Make dccp_insert_options & friends yell on error 2006-03-20 22:32:06 -08:00
dccp.h [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
diag.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.h [DCCP]: Shift sysctls into feat.h 2006-09-22 15:18:16 -07:00
input.c [DCCP]: Update code comments for Step 2/3 2006-12-02 21:22:04 -08:00
ipv4.c [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
ipv6.c [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
ipv6.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [DCCP]: Fix DCCP Probe Typo 2006-12-02 21:22:01 -08:00
Makefile [DCCP]: Introduce dccp_probe 2006-09-24 18:08:17 -03:00
minisocks.c [DCCP]: Update code comments for Step 2/3 2006-12-02 21:22:04 -08:00
options.c [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
output.c [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
probe.c [NET]: Fix kfifo_alloc() error check. 2006-11-25 15:16:49 -08:00
proto.c [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
sysctl.c [DCCP]: Shift sysctls into feat.h 2006-09-22 15:18:16 -07:00
timer.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00