abe.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef CONGURE_ABE_H
24 #define CONGURE_ABE_H
25 
26 #include <stdint.h>
27 
28 #include "congure/config.h"
29 #include "congure/reno.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
41 
47 typedef struct {
66 
74  const congure_abe_snd_consts_t *consts);
75 
85 static inline void congure_abe_set_mss(congure_abe_snd_t *c, unsigned mss)
86 {
88 }
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif /* CONGURE_ABE_H */
void congure_abe_snd_setup(congure_abe_snd_t *c, const congure_abe_snd_consts_t *consts)
Set's up the driver for a CongURE ABE object.
static void congure_abe_set_mss(congure_abe_snd_t *c, unsigned mss)
Set sender maximum segment size.
Definition: abe.h:85
congure_reno_snd_t congure_abe_snd_t
Alias of CongURE Reno state object for CongURE ABE.
Definition: abe.h:40
void congure_reno_set_mss(congure_reno_snd_t *c, congure_wnd_size_t mss)
Set sender maximum segment size.
Constants for the congestion control.
Definition: abe.h:47
congure_reno_snd_consts_t reno
TCP Reno constants.
Definition: abe.h:48
uint8_t abe_multiplier_denominator
numerator for the beta_{ecn}factor used to set the slow start threshold on an ECN CE.
Definition: abe.h:64
uint8_t abe_multiplier_numerator
numerator for the beta_{ecn}factor used to set the slow start threshold on an ECN CE.
Definition: abe.h:56
Constants for the congestion control.
Definition: reno.h:60
State object for CongURE Reno.
Definition: reno.h:172