summaryrefslogtreecommitdiff
path: root/src/lib/ipcp_config.proto
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 /src/lib/ipcp_config.proto
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 'src/lib/ipcp_config.proto')
-rw-r--r--src/lib/ipcp_config.proto28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/ipcp_config.proto b/src/lib/ipcp_config.proto
index 078c1491..92656f8d 100644
--- a/src/lib/ipcp_config.proto
+++ b/src/lib/ipcp_config.proto
@@ -1,7 +1,7 @@
/*
* Ouroboros - Copyright (C) 2016 - 2018
*
- * DIF config message
+ * Layer configuration message
*
* Dimitri Staessens <dimitri.staessens@ugent.be>
* Sander Vrijders <sander.vrijders@ugent.be>
@@ -22,24 +22,24 @@
syntax = "proto2";
-message dif_info_msg {
- required string dif_name = 1;
+message layer_info_msg {
+ required string layer_name = 1;
required uint32 dir_hash_algo = 2;
}
message ipcp_config_msg {
- required dif_info_msg dif_info = 1;
- required int32 ipcp_type = 2;
+ required layer_info_msg layer_info = 1;
+ required int32 ipcp_type = 2;
// Config for normal IPCP
- optional uint32 addr_size = 3;
- optional uint32 fd_size = 4;
- optional bool has_ttl = 5;
- optional uint32 addr_auth_type = 6;
- optional uint32 routing_type = 7;
- optional uint32 pff_type = 8;
+ optional uint32 addr_size = 3;
+ optional uint32 eid_size = 4;
+ optional uint32 max_ttl = 5;
+ optional uint32 addr_auth_type = 6;
+ optional uint32 routing_type = 7;
+ optional uint32 pff_type = 8;
// Config for UDP
- optional uint32 ip_addr = 9;
- optional uint32 dns_addr = 10;
+ optional uint32 ip_addr = 9;
+ optional uint32 dns_addr = 10;
// Config for the Ethernet LLC
- optional string if_name = 11;
+ optional string if_name = 11;
}