mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[DCCP]: Introduce constants for CCID numbers
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
parent
00e4d116a7
commit
b83eff641e
1 changed files with 7 additions and 1 deletions
|
@ -169,6 +169,12 @@ enum {
|
||||||
DCCPO_MAX_CCID_SPECIFIC = 255,
|
DCCPO_MAX_CCID_SPECIFIC = 255,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* DCCP CCIDS */
|
||||||
|
enum {
|
||||||
|
DCCPC_CCID2 = 2,
|
||||||
|
DCCPC_CCID3 = 3,
|
||||||
|
};
|
||||||
|
|
||||||
/* DCCP features */
|
/* DCCP features */
|
||||||
enum {
|
enum {
|
||||||
DCCPF_RESERVED = 0,
|
DCCPF_RESERVED = 0,
|
||||||
|
@ -320,7 +326,7 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb)
|
||||||
/* initial values for each feature */
|
/* initial values for each feature */
|
||||||
#define DCCPF_INITIAL_SEQUENCE_WINDOW 100
|
#define DCCPF_INITIAL_SEQUENCE_WINDOW 100
|
||||||
#define DCCPF_INITIAL_ACK_RATIO 2
|
#define DCCPF_INITIAL_ACK_RATIO 2
|
||||||
#define DCCPF_INITIAL_CCID 2
|
#define DCCPF_INITIAL_CCID DCCPC_CCID2
|
||||||
#define DCCPF_INITIAL_SEND_ACK_VECTOR 1
|
#define DCCPF_INITIAL_SEND_ACK_VECTOR 1
|
||||||
/* FIXME: for now we're default to 1 but it should really be 0 */
|
/* FIXME: for now we're default to 1 but it should really be 0 */
|
||||||
#define DCCPF_INITIAL_SEND_NDP_COUNT 1
|
#define DCCPF_INITIAL_SEND_NDP_COUNT 1
|
||||||
|
|
Loading…
Reference in a new issue