summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/ca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/unicast/ca.h')
-rw-r--r--src/ipcpd/unicast/ca.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/ipcpd/unicast/ca.h b/src/ipcpd/unicast/ca.h
index 5cf6199c..47ea15a0 100644
--- a/src/ipcpd/unicast/ca.h
+++ b/src/ipcpd/unicast/ca.h
@@ -1,10 +1,10 @@
/*
- * Ouroboros - Copyright (C) 2016 - 2020
+ * Ouroboros - Copyright (C) 2016 - 2026
*
* Congestion avoidance
*
- * Dimitri Staessens <dimitri.staessens@ugent.be>
- * Sander Vrijders <sander.vrijders@ugent.be>
+ * Dimitri Staessens <dimitri@ouroboros.rocks>
+ * Sander Vrijders <sander@ouroboros.rocks>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -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>
@@ -55,7 +56,13 @@ void ca_ctx_update_ece(void * ctx,
void ca_wnd_wait(ca_wnd_t wnd);
-uint8_t ca_calc_ecn(int fd,
- size_t len);
+int ca_calc_ecn(int fd,
+ uint8_t * ecn,
+ qoscube_t qc,
+ size_t len);
+
+ssize_t ca_print_stats(void * ctx,
+ char * buf,
+ size_t len);
#endif /* OUROBOROS_IPCPD_UNICAST_CA_H */