abe.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2021 Freie Universität Berlin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
23 #include <stdint.h>
24 
25 #include "congure/config.h"
26 #include "congure/reno.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
38 
44 typedef struct {
63 
71  const congure_abe_snd_consts_t *consts);
72 
82 static inline void congure_abe_set_mss(congure_abe_snd_t *c, unsigned mss)
83 {
85 }
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
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:82
congure_reno_snd_t congure_abe_snd_t
Alias of CongURE Reno state object for CongURE ABE.
Definition: abe.h:37
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:44
congure_reno_snd_consts_t reno
TCP Reno constants.
Definition: abe.h:45
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:61
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:53
Constants for the congestion control.
Definition: reno.h:57
State object for CongURE Reno.
Definition: reno.h:169