summaryrefslogtreecommitdiff
path: root/src/lib/cacep.proto
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-09 16:05:57 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-09 16:05:57 +0100
commit0b6a6d6445b5addcf38eb67a001b792456242481 (patch)
tree76cc7bae73b4fba0ab67417d78be9d3eeeca84df /src/lib/cacep.proto
parent0a071a42d4e80f54e92f34911cafda3d666d35d5 (diff)
downloadouroboros-0b6a6d6445b5addcf38eb67a001b792456242481.tar.gz
ouroboros-0b6a6d6445b5addcf38eb67a001b792456242481.zip
lib: Add Common Application Connection Establishment Phase
This adds CACEP to the library, which can be used for authenticating the other party after flow allocation and for obtaining other relevant information.
Diffstat (limited to 'src/lib/cacep.proto')
-rw-r--r--src/lib/cacep.proto29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/cacep.proto b/src/lib/cacep.proto
new file mode 100644
index 00000000..603b095d
--- /dev/null
+++ b/src/lib/cacep.proto
@@ -0,0 +1,29 @@
+/*
+ * Ouroboros - Copyright (C) 2016 - 2017
+ *
+ * CACEP message
+ *
+ * Dimitri Staessens <dimitri.staessens@intec.ugent.be>
+ * Sander Vrijders <sander.vrijders@intec.ugent.be>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+syntax = "proto2";
+
+message cacep {
+ required string name = 1;
+ required uint64 address = 2;
+}