diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-25 22:25:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-25 22:25:48 +0100 |
commit | 519cc35772b40b7966cc7c3bb03d5961f6f265d1 (patch) | |
tree | 0bc242a8760953bd28d12965892ec4542c285629 /src/transport/transport.h | |
parent | 392b3c355586179fdce6a565c467eeba96027bc5 (diff) | |
download | gnunet-519cc35772b40b7966cc7c3bb03d5961f6f265d1.tar.gz gnunet-519cc35772b40b7966cc7c3bb03d5961f6f265d1.zip |
more on backchannel logic
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 24479e4c6..931ba4810 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -977,6 +977,33 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannel | |||
977 | }; | 977 | }; |
978 | 978 | ||
979 | 979 | ||
980 | /** | ||
981 | * Message from transport to communicator passing along a backchannel | ||
982 | * message from the given peer @e pid. | ||
983 | */ | ||
984 | struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming | ||
985 | { | ||
986 | /** | ||
987 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING | ||
988 | */ | ||
989 | struct GNUNET_MessageHeader header; | ||
990 | |||
991 | /** | ||
992 | * Always zero, for alignment. | ||
993 | */ | ||
994 | uint32_t reserved; | ||
995 | |||
996 | /** | ||
997 | * Origin peer. | ||
998 | */ | ||
999 | struct GNUNET_PeerIdentity pid; | ||
1000 | |||
1001 | /* Followed by a `struct GNUNET_MessageHeader` with the encapsulated | ||
1002 | message to the communicator */ | ||
1003 | |||
1004 | }; | ||
1005 | |||
1006 | |||
980 | 1007 | ||
981 | /** | 1008 | /** |
982 | * Request to start monitoring. | 1009 | * Request to start monitoring. |