cc_newreno.h (4e4c84f8d101216ebf303f04ce9d4327c3328059) cc_newreno.h (a9696510f5caef4a7c525fcf4359597798829350)
1/*-
2 * Copyright (c) 2017 Tom Jones <tj@enoti.me>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 39 unchanged lines hidden (view full) ---

48
49struct cc_newreno_opts {
50 int name;
51 uint32_t val;
52};
53
54#define CC_NEWRENO_BETA 1 /* Beta for normal DUP-ACK/Sack recovery */
55#define CC_NEWRENO_BETA_ECN 2 /* ECN Beta for Abe */
1/*-
2 * Copyright (c) 2017 Tom Jones <tj@enoti.me>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 39 unchanged lines hidden (view full) ---

48
49struct cc_newreno_opts {
50 int name;
51 uint32_t val;
52};
53
54#define CC_NEWRENO_BETA 1 /* Beta for normal DUP-ACK/Sack recovery */
55#define CC_NEWRENO_BETA_ECN 2 /* ECN Beta for Abe */
56#define CC_NEWRENO_ENABLE_HYSTART 3 /* Enable hystart */
57
58/* Flags values */
56
57/* Flags values */
59#define CC_NEWRENO_HYSTART_ALLOWED 0x0001 /* Does the tcp connection allow hystart? */
60#define CC_NEWRENO_HYSTART_ENABLED 0x0002 /* We can do hystart, a loss removes this flag */
61#define CC_NEWRENO_HYSTART_IN_CSS 0x0004 /* If we enter hystart CSS this flag is set */
58#define CC_NEWRENO_HYSTART_ENABLED 0x0002 /* We can do hystart, a loss removes this flag */
59#define CC_NEWRENO_HYSTART_IN_CSS 0x0004 /* If we enter hystart CSS this flag is set */
62#define CC_NEWRENO_HYSTART_CAN_SH_CWND 0x0008 /* Can hystart when going CSS -> CA slam the cwnd */
63#define CC_NEWRENO_HYSTART_CONS_SSTH 0x0010 /* Should hystart use the more conservative sstrhesh */
64#define CC_NEWRENO_BETA_ECN_ENABLED 0x0020
65#endif /* _CC_NEWRENO_H */
60#define CC_NEWRENO_BETA_ECN_ENABLED 0x0020
61#endif /* _CC_NEWRENO_H */