aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-11-17 01:53:48 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-17 01:53:48 -0500
commit29450559849da7066813601effb7666966869853 (patch)
tree5a55d997460a85da733e1960bc74de0f170e8106 /include/linux
parent49aebc66d6b896f9c7c5739d85c4548c00015aa7 (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dccp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index 6eaaca9b037a..5a5a89935dbc 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -527,8 +527,8 @@ struct dccp_sock {
527 __u32 dccps_timestamp_time; 527 __u32 dccps_timestamp_time;
528 __u16 dccps_l_ack_ratio; 528 __u16 dccps_l_ack_ratio;
529 __u16 dccps_r_ack_ratio; 529 __u16 dccps_r_ack_ratio;
530 __u16 dccps_pcslen; 530 __u8 dccps_pcslen:4;
531 __u16 dccps_pcrlen; 531 __u8 dccps_pcrlen:4;
532 __u64 dccps_ndp_count:48; 532 __u64 dccps_ndp_count:48;
533 unsigned long dccps_rate_last; 533 unsigned long dccps_rate_last;
534 struct dccp_minisock dccps_minisock; 534 struct dccp_minisock dccps_minisock;