aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dccp.h
diff options
context:
space:
mode:
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>2006-03-20 20:41:47 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 20:41:47 -0500
commit2a91aa3967398fb94eccc8da67c82bce9f67afdf (patch)
tree62bf003487121bc629919c85810df11e52016b8f /include/linux/dccp.h
parentaa5d7df3b20e0e493e90e1151510ab3ae8366bb5 (diff)
[DCCP] CCID2: Initial CCID2 (TCP-Like) implementation
Original work by Andrea Bittau, Arnaldo Melo cleaned up and fixed several issues on the merge process. For now CCID2 was turned the default for all SOCK_DCCP connections, but this will be remedied soon with the merge of the feature negotiation code. Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dccp.h')
-rw-r--r--include/linux/dccp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index 088529f54965..268b4579d7e5 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -314,9 +314,9 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb)
314 314
315/* initial values for each feature */ 315/* initial values for each feature */
316#define DCCPF_INITIAL_SEQUENCE_WINDOW 100 316#define DCCPF_INITIAL_SEQUENCE_WINDOW 100
317/* FIXME: for now we're using CCID 3 (TFRC) */ 317/* FIXME: for now we're using CCID 2 (TCP-Like) */
318#define DCCPF_INITIAL_CCID 3 318#define DCCPF_INITIAL_CCID 2
319#define DCCPF_INITIAL_SEND_ACK_VECTOR 0 319#define DCCPF_INITIAL_SEND_ACK_VECTOR 1
320/* FIXME: for now we're default to 1 but it should really be 0 */ 320/* FIXME: for now we're default to 1 but it should really be 0 */
321#define DCCPF_INITIAL_SEND_NDP_COUNT 1 321#define DCCPF_INITIAL_SEND_NDP_COUNT 1
322 322
@@ -430,6 +430,8 @@ struct dccp_sock {
430 struct timeval dccps_timestamp_time; 430 struct timeval dccps_timestamp_time;
431 __u32 dccps_timestamp_echo; 431 __u32 dccps_timestamp_echo;
432 __u32 dccps_packet_size; 432 __u32 dccps_packet_size;
433 __u16 dccps_l_ack_ratio;
434 __u16 dccps_r_ack_ratio;
433 unsigned long dccps_ndp_count; 435 unsigned long dccps_ndp_count;
434 __u32 dccps_mss_cache; 436 __u32 dccps_mss_cache;
435 struct dccp_options dccps_options; 437 struct dccp_options dccps_options;