netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] [DCCP]: Introduce constants for CCID numbers
@ 2006-09-22  2:25 Ian McDonald
  2006-09-22 13:39 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Ian McDonald @ 2006-09-22  2:25 UTC (permalink / raw)
  To: Arnaldo de Melo, David Miller, dccp (vger), netdev,
	Stephen Hemminger, Andrea Bittau, Ian McDonald

This change introduces a constant for CCID numbers.

Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
---
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/7] [DCCP]: Introduce constants for CCID numbers
  2006-09-22  2:25 [PATCH 1/7] [DCCP]: Introduce constants for CCID numbers Ian McDonald
@ 2006-09-22 13:39 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2006-09-22 13:39 UTC (permalink / raw)
  To: Ian McDonald
  Cc: David Miller, dccp (vger), netdev, Stephen Hemminger,
	Andrea Bittau

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 <ian.mcdonald@jandi.co.nz>

Applied

- Arnaldo 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-22 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22  2:25 [PATCH 1/7] [DCCP]: Introduce constants for CCID numbers Ian McDonald
2006-09-22 13:39 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).