From 132d2145a6e89ac0f4454ba7f257a910da2ef674 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 10 Dec 2020 18:11:20 +0100 Subject: ipcpd: Pass previous ECN value in congestion API The previous value of the ECN field should be passed to the congestion notification function. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/unicast/pol/ca-nop.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ipcpd/unicast/pol/ca-nop.c') diff --git a/src/ipcpd/unicast/pol/ca-nop.c b/src/ipcpd/unicast/pol/ca-nop.c index 15b253ca..ce210cfb 100644 --- a/src/ipcpd/unicast/pol/ca-nop.c +++ b/src/ipcpd/unicast/pol/ca-nop.c @@ -84,11 +84,13 @@ void nop_ctx_update_ece(void * ctx, } -uint8_t nop_calc_ecn(int fd, - size_t len) +int nop_calc_ecn(int fd, + uint8_t * ecn, + size_t len) { (void) fd; (void) len; + (void) ecn; return 0; } -- cgit v1.2.3