diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-12-03 21:30:32 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-12-04 11:39:16 +0100 |
commit | 38a6e6f26e55457f80611b3a74b17058876c762d (patch) | |
tree | 5d984e071523091bcfbf4a15bd64e9319d72145e /src/ipcpd/shim-udp/shim_udp_messages.proto | |
parent | e85cd46dd2888fe6d327420e73893c048c221900 (diff) | |
download | ouroboros-38a6e6f26e55457f80611b3a74b17058876c762d.tar.gz ouroboros-38a6e6f26e55457f80611b3a74b17058876c762d.zip |
ipcpd: Remove protocol buffers from shim-udp
This will remove google protocol buffers from the shim-udp. It now
uses packed structs, as supported by the compilers of choice.
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Diffstat (limited to 'src/ipcpd/shim-udp/shim_udp_messages.proto')
-rw-r--r-- | src/ipcpd/shim-udp/shim_udp_messages.proto | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/ipcpd/shim-udp/shim_udp_messages.proto b/src/ipcpd/shim-udp/shim_udp_messages.proto deleted file mode 100644 index 377a8a91..00000000 --- a/src/ipcpd/shim-udp/shim_udp_messages.proto +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Ouroboros - Copyright (C) 2016 - 2017 - * - * Shim UDP message - * - * Dimitri Staessens <dimitri.staessens@ugent.be> - * Sander Vrijders <sander.vrijders@ugent.be> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., http://www.fsf.org/about/contact/. - */ - -syntax = "proto2"; - -enum shim_udp_msg_code { - FLOW_REQ = 1; - FLOW_REPLY = 2; -}; - -message shim_udp_msg { - required shim_udp_msg_code code = 1; - optional bytes hash = 2; - required uint32 src_udp_port = 3; - optional uint32 dst_udp_port = 4; - optional uint32 qoscube = 5; - optional sint32 response = 6; -}; |