gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 01/07: Define CADET message types.


From: gnunet
Subject: [gnunet-scheme] 01/07: Define CADET message types.
Date: Sun, 06 Feb 2022 10:53:24 +0100

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 067eac38a11c336e25e82b624239daa19ef7ac4b
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Feb 5 13:17:35 2022 +0000

    Define CADET message types.
    
    * gnu/gnunet/message/enum-cadet.scmfrag: Define some types.
    * gnu/gnunet/message/protocols.scmgen (entries): Add them.
    * Makefile.am (nobase_dist_guilesite_DATA): Register new file.
---
 Makefile.am                           |   1 +
 gnu/gnunet/message/enum-cadet.scmfrag | 107 ++++++++++++++++++++++++++++++++++
 gnu/gnunet/message/protocols.scmgen   |   2 +
 3 files changed, 110 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index d460eae..a5078da 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -100,6 +100,7 @@ nobase_dist_guilesite_DATA += \
   $(E)agpl.scmfrag \
   $(E)arm.scmfrag \
   $(E)ats.scmfrag \
+  $(E)cadet.scmfrag \
   $(E)chat.scmfrag \
   $(E)consensus.scmfrag \
   $(E)conversation.scmfrag \
diff --git a/gnu/gnunet/message/enum-cadet.scmfrag 
b/gnu/gnunet/message/enum-cadet.scmfrag
new file mode 100644
index 0000000..8ef2c25
--- /dev/null
+++ b/gnu/gnunet/message/enum-cadet.scmfrag
@@ -0,0 +1,107 @@
+;; -*- scheme -*- Copyright © 2001--2020,2022 GNUnet e.V.
+;; SPDX-License-Identifier: AGPL-3.0-or-later
+
+(value
+  (symbol msg:cadet:connection:create)
+  (index 1000)
+  (documentation "Request the creation of a connection"))
+(value
+  (symbol msg:cadet:connection:create:acknowledgement)
+  (index 1001)
+  (documentation "Send origin an acknowledgement that the connection is 
complete"))
+(value
+  (symbol msg:cadet:connection:broken)
+  (index 1002)
+  (documentation "Notify that a connection is no longer valid"))
+(value
+  (symbol msg:cadet:connection:destroy)
+  (index 1003)
+  (documentation "Request the destruction of a connection"))
+(value
+  (symbol msg:cadet:connection:path-changed)
+  (index 1004)
+  (documentation "TODO, unimplemented?"))
+(value
+  (symbol msg:cadet:connection:hop-by-hop:encrypted-acknowledgement)
+  (index 1005)
+  (documentation "Deprecated? Hop-by-hop, connection dependent ACK"))
+(value
+  (symbol msg:cadet:tunnel:encrypted-poll)
+  (index 1006)
+  (documentation "Deprecated?"))
+(value
+  (symbol msg:cadet:tunnel:key-exchange)
+  (index 1007)
+  (documentation "Axolotl key exchange"))
+(value
+  (symbol msg:cadet:tunnel:encrypted)
+  (index 1008)
+  (documentation "Axolotl encrypted data"))
+(value
+  (symbol msg:cadet:tunnel:key-exchange:authentication)
+  (index 1009)
+  (documentation "Axolotl key exchange response with authentication"))
+
+;; Channel
+
+(value
+  (symbol msg:cadet:channel:application-data)
+  (index 1010)
+  (documentation "Payload data (inside an encrypted tunnel)"))
+(value
+  (symbol msg:cadet:channel:application-data:acknowledgement)
+  (index 1011)
+  (documentation "Confirm payload data end-to-end."))
+(value
+  (symbol msg:cadet:channel:keepalive)
+  (index 1012)
+  (documentation "Announce connection is still alive (direction sensitive)."))
+(value
+  (symbol msg:cadet:channel:open)
+  (index 1013)
+  (documentation "Ask the CADET service to create a new channel."))
+(value
+  (symbol msg:cadet:channel:destroy)
+  (index 1014)
+  (documentation "Ask the CADET service to destroy a channel."))
+(value
+  (symbol msg:cadet:channel:open:acknowledgement)
+  (index 1015)
+  (documentation "Confirm the creation of a channel."))
+(value
+  (symbol msg:cadet:channel:open:nack:deprecated)
+  (index 1016)
+  (documentation "Deprecated?"))
+
+;; Filler
+msg:1017
+msg:1018
+msg:1019
+
+;; Local
+(value
+  (symbol msg:cadet:local:data)
+  (index 1020)
+  (documentation "Payload client <-> service"))
+(value
+  (symbol msg:cadet:local:acknowledgement)
+  (index 1021)
+  (documentation "Local acknowledgement for data"))
+(value
+  (symbol msg:cadet:local:port:open)
+  (index 1022)
+  (documentation "Start listening on a port."))
+(value
+  (symbol msg:cadet:local:port:close)
+  (index 1023)
+  (documentation "Stop listening on a port."))
+(value
+  (symbol msg:cadet:local:channel:create)
+  (index 1024)
+  (documentation "Ask the CADET service to create a new channel."))
+(value
+  (symbol msg:cadet:local:channel:destroy)
+  (index 1025)
+  (documentation "Tell client that a channel has been destroyed."))
+
+;; TODO monitoring
diff --git a/gnu/gnunet/message/protocols.scmgen 
b/gnu/gnunet/message/protocols.scmgen
index 7369eaf..94b15e4 100644
--- a/gnu/gnunet/message/protocols.scmgen
+++ b/gnu/gnunet/message/protocols.scmgen
@@ -122,6 +122,8 @@
     ,@(include/sexp "enum-conversation.scmfrag")
     ,@(msg:filler 746 749)
     ,@(include/sexp "enum-multicast.scmfrag")
+    ,@(msg:filler 763 999)
+    ,@(include/sexp "enum-cadet.scmfrag")
     ;; TODO:
     ;; SECRETSHARING,
     ;; PEERSTORE,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]