From ba6025c9ee7049fbc8ac91b5a1c91a853c4faccb Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 19 Dec 2020 15:46:39 +0100 Subject: 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 Signed-off-by: Sander Vrijders --- src/ipcpd/unicast/ca.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipcpd/unicast/ca.h') 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 +#include #include #include @@ -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, -- cgit v1.2.3