dccp: Feature negotiation for minimum-checksum-coverage
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 17 Nov 2008 06:53:48 +0000 (22:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Nov 2008 06:53:48 +0000 (22:53 -0800)
commit29450559849da7066813601effb7666966869853
tree5a55d997460a85da733e1960bc74de0f170e8106
parent49aebc66d6b896f9c7c5739d85c4548c00015aa7
dccp: Feature negotiation for minimum-checksum-coverage

This provides feature negotiation for server minimum checksum coverage
which so far has been missing.

Since sender/receiver coverage values range only from 0...15, their
type has also been reduced in size from u16 to u4.

Feature-negotiation options are now generated for both sender and receiver
coverage, i.e. when the peer has `forgotten' to enable partial coverage
then feature negotiation will automatically enable (negotiate) the partial
coverage value for this connection.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dccp.h
net/dccp/proto.c