summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-10-31 19:47:45 +0100
committerSander Vrijders <[email protected]>2016-11-01 09:38:20 +0100
commit2d88fdaaa018d607eca5ce057dfbdf41beb6125b (patch)
treef5085671663fa6798065d283619b6e8997e0f51b /include
parent72eb9eed1284643db20c45ef82365fa54fd0ef1c (diff)
downloadouroboros-2d88fdaaa018d607eca5ce057dfbdf41beb6125b.tar.gz
ouroboros-2d88fdaaa018d607eca5ce057dfbdf41beb6125b.zip
ipcpd: normal: Add policy for obtaining a flat address
This adds a policy for obtaining a flat address, and thus also the infrastructure for policies in the IPCP. The IPCP should check if the address is available; this is currently not there yet.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/irm_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ouroboros/irm_config.h b/include/ouroboros/irm_config.h
index ba58f2f7..6b759633 100644
--- a/include/ouroboros/irm_config.h
+++ b/include/ouroboros/irm_config.h
@@ -39,6 +39,10 @@ enum ipcp_type {
IPCP_SHIM_ETH_LLC
};
+enum pol_addr_auth {
+ FLAT_RANDOM = 0
+};
+
struct dif_config {
char * dif_name;
enum ipcp_type type;
@@ -58,6 +62,8 @@ struct dif_config {
uint32_t min_pdu_size;
uint32_t max_pdu_size;
+
+ enum pol_addr_auth addr_auth_type;
};
/* Shim UDP */
struct {