summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp/shim_udp_messages.proto
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-18 20:34:51 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-18 20:53:05 +0200
commit6a4109706b20266833619d26cd89c5f9447fdd91 (patch)
tree0b2d8d6432e4f2125088279e1b2e2844fd4b7dda /src/ipcpd/shim-udp/shim_udp_messages.proto
parent4d348ef99bb3e3927be315ef1bdd1ae827c9a28c (diff)
downloadouroboros-6a4109706b20266833619d26cd89c5f9447fdd91.tar.gz
ouroboros-6a4109706b20266833619d26cd89c5f9447fdd91.zip
Implementation of a full flow allocator for the shim UDP.
It uses UDP port 0x0D1F on all hosts to send and receive flow allocation messages. It supports communication between server and client AP over a single shim IPCP. Implementation of full flow deallocation is pending. Both the client and the server still have to call flow_dealloc();
Diffstat (limited to 'src/ipcpd/shim-udp/shim_udp_messages.proto')
-rw-r--r--src/ipcpd/shim-udp/shim_udp_messages.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ipcpd/shim-udp/shim_udp_messages.proto b/src/ipcpd/shim-udp/shim_udp_messages.proto
new file mode 100644
index 00000000..1d054f1f
--- /dev/null
+++ b/src/ipcpd/shim-udp/shim_udp_messages.proto
@@ -0,0 +1,14 @@
+enum shim_udp_msg_code {
+ FLOW_REQ = 1;
+ FLOW_REPLY = 2;
+};
+
+message shim_udp_msg {
+ required shim_udp_msg_code code = 1;
+ optional string dst_name = 2;
+ optional string src_ap_name = 3;
+ optional string src_ae_name = 4;
+ required sint32 src_udp_port = 5;
+ optional sint32 dst_udp_port = 6;
+ optional sint32 response = 7;
+};