[PATCH 1/7] [DCCP]: Introduce constants for CCID numbers

Subsystems: the rest

STALE7299d

2 messages, 2 authors, 2006-09-22 · open the first message on its own page

[PATCH 1/7] [DCCP]: Introduce constants for CCID numbers

From: Ian McDonald <hidden>
Date: 2006-09-22 02:35:12

This change introduces a constant for CCID numbers.

Signed-off-by: Ian McDonald <redacted>
---
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index 2d7671c..a073164 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -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(
 /* 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

Re: [PATCH 1/7] [DCCP]: Introduce constants for CCID numbers

From: Arnaldo Carvalho de Melo <hidden>
Date: 2006-09-22 13:39:32

On Fri, Sep 22, 2006 at 02:25:36PM +1200, Ian McDonald wrote:
This change introduces a constant for CCID numbers.

Signed-off-by: Ian McDonald <redacted>
Applied

- Arnaldo 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help