summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-05-15 18:08:53 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-05-15 18:21:45 +0200
commit5d87cec1757c4e1c23ae778f2814363c1e39b43c (patch)
treeea57e4a1e634d3b7e7325b61f6dba36d941e03ae /include
parent0fc0f3701ef4f504e71eadcc92a93faf1dd33bf4 (diff)
downloadouroboros-5d87cec1757c4e1c23ae778f2814363c1e39b43c.tar.gz
ouroboros-5d87cec1757c4e1c23ae778f2814363c1e39b43c.zip
ipcpd: normal: Make routing a policy
This makes the routing component into a policy since different approaches may exist to do this, depending on how high the rank of the DIF is.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/ipcp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h
index 05fdcd49..8979c6d1 100644
--- a/include/ouroboros/ipcp.h
+++ b/include/ouroboros/ipcp.h
@@ -48,6 +48,10 @@ enum pol_gam {
COMPLETE = 0
};
+enum pol_routing {
+ LINK_STATE = 0
+};
+
enum hash_algo {
HASH_CRC32 = 0,
HASH_MD5,
@@ -77,6 +81,7 @@ struct ipcp_config {
enum pol_addr_auth addr_auth_type;
enum pol_gam dt_gam_type;
enum pol_gam rm_gam_type;
+ enum pol_routing routing_type;
/* Shim UDP */
uint32_t ip_addr;