summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/dt.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-03-26 20:47:25 +0100
committerSander Vrijders <sander@ouroboros.rocks>2021-03-28 12:46:32 +0200
commit809e4d1957daa701a3390b0526b125cc263bfe26 (patch)
tree207564cc3fd5d3218624cfa114a92fd9b152fd37 /src/ipcpd/unicast/dt.c
parent994465e34a732db3bce542ee021674473f32d572 (diff)
downloadouroboros-809e4d1957daa701a3390b0526b125cc263bfe26.tar.gz
ouroboros-809e4d1957daa701a3390b0526b125cc263bfe26.zip
build: Move connmgr and enrolment to common ground
The connection manager and enrolment components of the unicast and broadcast IPCP have a lot in common, as conjectured in the paper. The initial implementation of the broadcast IPCP just duplicated the code. This moves the shared functionality to common ground. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/dt.c')
-rw-r--r--src/ipcpd/unicast/dt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/unicast/dt.c b/src/ipcpd/unicast/dt.c
index 5d2bd9ce..92496e54 100644
--- a/src/ipcpd/unicast/dt.c
+++ b/src/ipcpd/unicast/dt.c
@@ -41,14 +41,14 @@
#include <ouroboros/fccntl.h>
#endif
+#include "common/comp.h"
+#include "common/connmgr.h"
#include "ca.h"
-#include "connmgr.h"
#include "ipcp.h"
#include "dt.h"
#include "pff.h"
#include "routing.h"
#include "psched.h"
-#include "comp.h"
#include "fa.h"
#include <stdlib.h>