aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ulrich <christian@ulrich.earth>2020-07-10 18:08:55 +0200
committerChristian Ulrich <christian@ulrich.earth>2020-07-10 18:08:55 +0200
commit8c4e5fac40d2efb780d802bd800697e9d15b7ed9 (patch)
treec1a5a0a7b9452d3f171a37450eced8cd1562a5e0
parent17b7bf0168c20e3fe39f8bd6be320a468e638961 (diff)
downloadgnunet-nim-8c4e5fac40d2efb780d802bd800697e9d15b7ed9.tar.gz
gnunet-nim-8c4e5fac40d2efb780d802bd800697e9d15b7ed9.zip
update GNUnet's protocol numbers againHEADmaster
-rw-r--r--src/gnunet_nim/gnunet_protocols.nim79
1 files changed, 33 insertions, 46 deletions
diff --git a/src/gnunet_nim/gnunet_protocols.nim b/src/gnunet_nim/gnunet_protocols.nim
index 274c92c..c0a0e81 100644
--- a/src/gnunet_nim/gnunet_protocols.nim
+++ b/src/gnunet_nim/gnunet_protocols.nim
@@ -38,8 +38,8 @@
38## **************************************************************************** 38## ****************************************************************************
39 39
40## ****************************************************************************** 40## ******************************************************************************
41## UTIL message types 41## Deprecated
42## **************************************************************************** 42## ****************************************************************************
43## * 43## *
44## Test if service is online. 44## Test if service is online.
45## 45##
@@ -47,21 +47,24 @@
47## 47##
48 48
49const 49const
50 GNUNET_MESSAGE_TYPE_TEST* = 1 50 GNUNET_MESSAGE_TYPE_TEST* = 0
51 51
52## ******************************************************************************
53## AGPL source code download
54## ****************************************************************************
52## * 55## *
53## Dummy messages for testing / benchmarking. 56## Message to request source code link.
54## 57##
55 58
56const 59const
57 GNUNET_MESSAGE_TYPE_DUMMY* = 2 60 GNUNET_MESSAGE_TYPE_REQUEST_AGPL* = 1
58 61
59## * 62## *
60## Another dummy messages for testing / benchmarking. 63## Source code link.
61## 64##
62 65
63const 66const
64 GNUNET_MESSAGE_TYPE_DUMMY2* = 3 67 GNUNET_MESSAGE_TYPE_RESPONSE_AGPL* = 2
65 68
66## ****************************************************************************** 69## ******************************************************************************
67## RESOLVER message types 70## RESOLVER message types
@@ -81,21 +84,21 @@ const
81 GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE* = 5 84 GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE* = 5
82 85
83## ****************************************************************************** 86## ******************************************************************************
84## AGPL source code download 87## UTIL message types
85## **************************************************************************** 88## ****************************************************************************
86## * 89## *
87## Message to request source code link. 90## Dummy messages for testing / benchmarking.
88## 91##
89 92
90const 93const
91 GNUNET_MESSAGE_TYPE_REQUEST_AGPL* = 6 94 GNUNET_MESSAGE_TYPE_DUMMY* = 6
92 95
93## * 96## *
94## Source code link. 97## Another dummy messages for testing / benchmarking.
95## 98##
96 99
97const 100const
98 GNUNET_MESSAGE_TYPE_RESPONSE_AGPL* = 7 101 GNUNET_MESSAGE_TYPE_DUMMY2* = 7
99 102
100## ****************************************************************************** 103## ******************************************************************************
101## ARM message types 104## ARM message types
@@ -2125,37 +2128,8 @@ const
2125const 2128const
2126 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ELEMENTS_REPORT* = 545 2129 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ELEMENTS_REPORT* = 545
2127 2130
2128##
2129## Initialization message for consensus p2p communication.
2130##
2131
2132const
2133 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_HELLO* = 546
2134
2135## *
2136## Report that the peer is synced with the partner after successfuly decoding
2137## the invertible bloom filter.
2138##
2139
2140const
2141 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_SYNCED* = 547
2142
2143## *
2144## Interaction os over, got synched and reported all elements
2145##
2146
2147const
2148 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_FIN* = 548
2149
2150## *
2151## Abort a round, don't send requested elements anymore
2152##
2153
2154const
2155 GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ABORT* = 548
2156
2157## * 2131## *
2158## Abort a round, don't send requested elements anymore 2132## Provide context for a consensus round.
2159## 2133##
2160 2134
2161const 2135const
@@ -3496,9 +3470,8 @@ const
3496## 1000-1009 Connection-level Messages 3470## 1000-1009 Connection-level Messages
3497## 1010-1019 Channel-level Messages 3471## 1010-1019 Channel-level Messages
3498## 1020-1029 Local Client-Service 3472## 1020-1029 Local Client-Service
3499## 1030-1039 Local Service Monitoring 3473## 1030-1049 Local Service Monitoring
3500## 1040-1049 Application Data 3474## 1050-1059 Application Data
3501## 1050-1059 Reserved
3502## 3475##
3503## ******************************* Connection ******************************* 3476## ******************************* Connection *******************************
3504## * 3477## *
@@ -3757,6 +3730,13 @@ const
3757const 3730const
3758 GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END* = 1041 3731 GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END* = 1041
3759 3732
3733## *
3734## Request to drop a message of type X to peer y.
3735##
3736
3737const
3738 GNUNET_MESSAGE_TYPE_CADET_DROP_CADET_MESSAGE* = 1042
3739
3760## ******************************* Application ****************************** 3740## ******************************* Application ******************************
3761## * 3741## *
3762## Traffic (net-cat style) used by the Command Line Interface. 3742## Traffic (net-cat style) used by the Command Line Interface.
@@ -4049,6 +4029,13 @@ const
4049 GNUNET_MESSAGE_TYPE_TRANSPORT_FLOW_CONTROL* = 1221 4029 GNUNET_MESSAGE_TYPE_TRANSPORT_FLOW_CONTROL* = 1221
4050 4030
4051## * 4031## *
4032## @brief inform transport that a queue was updated
4033##
4034
4035const
4036 GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_UPDATE* = 1222
4037
4038## *
4052## Message sent to indicate to the transport that a monitor 4039## Message sent to indicate to the transport that a monitor
4053## wants to observe certain events. 4040## wants to observe certain events.
4054## 4041##