diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-12-19 15:46:39 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-12-20 13:36:44 +0100 |
commit | ba6025c9ee7049fbc8ac91b5a1c91a853c4faccb (patch) | |
tree | 007f96653db9f0bc85182f406bdf111c6d98fdd3 /src/ipcpd/unicast/ca.h | |
parent | 5a26b4822380f8b8aed83937237fa0217b0a8b41 (diff) | |
download | ouroboros-ba6025c9ee7049fbc8ac91b5a1c91a853c4faccb.tar.gz ouroboros-ba6025c9ee7049fbc8ac91b5a1c91a853c4faccb.zip |
ipcpd: Pass qoscube to ECN marking function
The ECN marking function should be able to use the packet QoS to allow
prioritizing traffic under congestion. Not yet implemented in MB-ECN.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/ca.h')
-rw-r--r-- | src/ipcpd/unicast/ca.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/unicast/ca.h b/src/ipcpd/unicast/ca.h index 0604a161..567909c8 100644 --- a/src/ipcpd/unicast/ca.h +++ b/src/ipcpd/unicast/ca.h @@ -24,6 +24,7 @@ #define OUROBOROS_IPCPD_UNICAST_CA_H #include <ouroboros/ipcp.h> +#include <ouroboros/qoscube.h> #include <stdbool.h> #include <sys/types.h> @@ -57,6 +58,7 @@ void ca_wnd_wait(ca_wnd_t wnd); int ca_calc_ecn(int fd, uint8_t * ecn, + qoscube_t qc, size_t len); ssize_t ca_print_stats(void * ctx, |