]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[DCCP]: Introduce constants for CCID numbers
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Fri, 22 Sep 2006 02:25:36 +0000 (14:25 +1200)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sun, 24 Sep 2006 20:56:32 +0000 (17:56 -0300)
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
include/linux/dccp.h

index 29f9291e45c05b0692d1ac51966f857bac0490a6..d6f4ec467a4bb9f273c7fdea7d7a04b08fbcee7a 100644 (file)
@@ -169,6 +169,12 @@ enum {
        DCCPO_MAX_CCID_SPECIFIC = 255,
 };
 
+/* DCCP CCIDS */
+enum {
+       DCCPC_CCID2 = 2,
+       DCCPC_CCID3 = 3,
+};
+
 /* DCCP features */
 enum {
        DCCPF_RESERVED = 0,
@@ -320,7 +326,7 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb)
 /* initial values for each feature */
 #define DCCPF_INITIAL_SEQUENCE_WINDOW          100
 #define DCCPF_INITIAL_ACK_RATIO                        2
-#define DCCPF_INITIAL_CCID                     2
+#define DCCPF_INITIAL_CCID                     DCCPC_CCID2
 #define DCCPF_INITIAL_SEND_ACK_VECTOR          1
 /* FIXME: for now we're default to 1 but it should really be 0 */
 #define DCCPF_INITIAL_SEND_NDP_COUNT           1