summaryrefslogtreecommitdiff
path: root/include/ouroboros/ipcp.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-02-13 18:16:28 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-02-13 19:15:07 +0100
commite095d0ade3035c714768266755c9c61acfc2ad0f (patch)
tree9b3fccffb5a8669bdb71bee1d266e3c441d66703 /include/ouroboros/ipcp.h
parent068a13ca7c1fdaefbfc4e846aaa8eefe9eb1d821 (diff)
downloadouroboros-e095d0ade3035c714768266755c9c61acfc2ad0f.tar.gz
ouroboros-e095d0ade3035c714768266755c9c61acfc2ad0f.zip
ipcpd: Revise Data Transfer component0.10.0
This makes the TTL non-optional and allows the maximum (initial) value of the TTL to be specified at bootstrap (the default is set to 60). The fd in the DT PCI is now called EID (Endpoint ID). The names "dif" and "ae" have been replaced by "layer" and "component" respectively in all sources. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'include/ouroboros/ipcp.h')
-rw-r--r--include/ouroboros/ipcp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h
index d3a9bdd8..e39137db 100644
--- a/include/ouroboros/ipcp.h
+++ b/include/ouroboros/ipcp.h
@@ -64,21 +64,21 @@ enum pol_dir_hash {
};
/* Info reported back to the IRMd about the layer on enrollment */
-struct dif_info {
- char dif_name[LAYER_NAME_SIZE];
+struct layer_info {
+ char layer_name[LAYER_NAME_SIZE];
int dir_hash_algo;
};
/* Structure to configure the first IPCP */
struct ipcp_config {
- struct dif_info dif_info;
+ struct layer_info layer_info;
enum ipcp_type type;
/* Normal */
uint8_t addr_size;
- uint8_t fd_size;
- bool has_ttl;
+ uint8_t eid_size;
+ uint8_t max_ttl;
enum pol_addr_auth addr_auth_type;
enum pol_routing routing_type;