aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-08-04 23:57:55 +0000
committerBart Polot <bart@net.in.tum.de>2011-08-04 23:57:55 +0000
commit857cb6a5341bc27cf1997fc48c2df173c4380fd2 (patch)
tree0fd79744253f4461edcb0e60be109ba61b7f43a3 /src/include
parent933084f007e0ec3d7a73e85ddd1b0b0b62da6f6e (diff)
downloadgnunet-857cb6a5341bc27cf1997fc48c2df173c4380fd2.tar.gz
gnunet-857cb6a5341bc27cf1997fc48c2df173c4380fd2.zip
Changed API<->Service messages
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h41
1 files changed, 14 insertions, 27 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index e5e680d58..ce1ae2190 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -796,49 +796,49 @@ extern "C"
796 796
797 797
798/******************************************************************************* 798/*******************************************************************************
799 * MESH message types (WiP) 799 * MESH message types START (WiP)
800 ******************************************************************************/ 800 ******************************************************************************/
801 801
802/** 802/**
803 * Request the creation of a path 803 * Request the creation of a path
804 */ 804 */
805#define GNUNET_MESSAGE_TYPE_MESH_PATH_CREATE 256 805#define GNUNET_MESSAGE_TYPE_MESH_PATH_CREATE 256
806 806
807/** 807/**
808 * Request the modification of an existing path 808 * Request the modification of an existing path
809 */ 809 */
810#define GNUNET_MESSAGE_TYPE_MESH_PATH_CHANGE 257 810#define GNUNET_MESSAGE_TYPE_MESH_PATH_CHANGE 257
811 811
812/** 812/**
813 * Request the addition to a new branch to a path 813 * Request the addition to a new branch to a path
814 */ 814 */
815#define GNUNET_MESSAGE_TYPE_MESH_PATH_ADD 258 815#define GNUNET_MESSAGE_TYPE_MESH_PATH_ADD 258
816 816
817/** 817/**
818 * At some point, the route will spontaneously change 818 * At some point, the route will spontaneously change
819 */ 819 */
820#define GNUNET_MESSAGE_TYPE_MESH_PATH_CHANGED 259 820#define GNUNET_MESSAGE_TYPE_MESH_PATH_CHANGED 259
821 821
822/** 822/**
823 * Transport data in the mesh (origin->end) unicast 823 * Transport data in the mesh (origin->end) unicast
824 */ 824 */
825#define GNUNET_MESSAGE_TYPE_DATA_MESSAGE_FROM_ORIGIN 260 825#define GNUNET_MESSAGE_TYPE_MESH_UNICAST 260
826 826
827/** 827/**
828 * Transport data to all peers in a tunnel 828 * Transport data to all peers in a tunnel
829 */ 829 */
830#define GNUNET_MESSAGE_TYPE_DATA_MULTICAST 261 830#define GNUNET_MESSAGE_TYPE_MESH_MULTICAST 261
831 831
832/** 832/**
833 * Transport data back in the mesh (end->origin) 833 * Transport data back in the mesh (end->origin)
834 * (not sure if this is the right way, should be some other solution) 834 * (not sure if this is the right way, should be some other solution)
835 */ 835 */
836#define GNUNET_MESSAGE_TYPE_DATA_MESSAGE_TO_ORIGIN 262 836#define GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN 262
837 837
838/** 838/**
839 * Send origin an ACK that the path is complete 839 * Send origin an ACK that the path is complete
840 */ 840 */
841#define GNUNET_MESSAGE_TYPE_PATH_ACK 263 841#define GNUNET_MESSAGE_TYPE_MESH_PATH_ACK 263
842 842
843/** 843/**
844 * We need flow control 844 * We need flow control
@@ -848,27 +848,27 @@ extern "C"
848/** 848/**
849 * Connect to the mesh service, specifying subscriptions 849 * Connect to the mesh service, specifying subscriptions
850 */ 850 */
851#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT 272 851#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT 272
852 852
853/** 853/**
854 * Ask the mesh service to create a new tunnel 854 * Ask the mesh service to create a new tunnel
855 */ 855 */
856#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE 273 856#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE 273
857 857
858/** 858/**
859 * Ask the mesh service to destroy a tunnel 859 * Ask the mesh service to destroy a tunnel
860 */ 860 */
861#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY 274 861#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY 274
862 862
863/** 863/**
864 * Ask the mesh service to add a peer to an existing tunnel 864 * Ask the mesh service to add a peer to an existing tunnel
865 */ 865 */
866#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_ADD 275 866#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_ADD 275
867 867
868/** 868/**
869 * Ask the mesh service to remove a peer from a tunnel 869 * Ask the mesh service to remove a peer from a tunnel
870 */ 870 */
871#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_DEL 276 871#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_DEL 276
872 872
873/** 873/**
874 * Ask the mesh service to add a peer offering a service to an existing tunnel 874 * Ask the mesh service to add a peer offering a service to an existing tunnel
@@ -890,19 +890,6 @@ extern "C"
890 */ 890 */
891#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_DISCONNECTED 280 891#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_DISCONNECTED 280
892 892
893/* FIXME needed? */
894#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_REQUEST_TRANSMIT_READY 281
895#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_NOTIFY_TRANSMIT_READY 282
896
897/**
898 * Message client <-> mesh service to transport payload
899 */
900#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_DATA 283
901
902/**
903 * Message client->mesh to send data to all peers connected to a tunnel
904 */
905#define GNUNET_MESSAGE_TYPE_MESH_LOCAL_DATA_BROADCAST 284
906 893
907/** 894/**
908 * 640kb should be enough for everybody 895 * 640kb should be enough for everybody