From 6a4109706b20266833619d26cd89c5f9447fdd91 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 18 May 2016 20:34:51 +0200 Subject: 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(); --- src/ipcpd/shim-udp/shim_udp_messages.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/ipcpd/shim-udp/shim_udp_messages.proto (limited to 'src/ipcpd/shim-udp/shim_udp_messages.proto') 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; +}; -- cgit v1.2.3