diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-04 13:59:35 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-04 13:59:35 +0000 |
commit | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (patch) | |
tree | b1a4eb6bc53497fde67a372249011d9103a48a31 /src/ats/ats.h | |
parent | 892c5652b368111d42ac15d383109bf7212d70ed (diff) | |
download | gnunet-28a2eb43281a1f08a67954f07beb9af3a9bc9a35.tar.gz gnunet-28a2eb43281a1f08a67954f07beb9af3a9bc9a35.zip |
extending ats api to inform about addresses in use
Diffstat (limited to 'src/ats/ats.h')
-rw-r--r-- | src/ats/ats.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ats/ats.h b/src/ats/ats.h index a45714f53..3ae6fdb65 100644 --- a/src/ats/ats.h +++ b/src/ats/ats.h | |||
@@ -84,6 +84,27 @@ struct AddressUpdateMessage | |||
84 | 84 | ||
85 | }; | 85 | }; |
86 | 86 | ||
87 | struct AddressUseMessage | ||
88 | { | ||
89 | struct GNUNET_MessageHeader header; | ||
90 | |||
91 | struct GNUNET_PeerIdentity peer; | ||
92 | |||
93 | uint16_t in_use GNUNET_PACKED; | ||
94 | |||
95 | uint16_t address_length GNUNET_PACKED; | ||
96 | |||
97 | uint16_t plugin_name_length GNUNET_PACKED; | ||
98 | |||
99 | uint32_t session_id GNUNET_PACKED; | ||
100 | |||
101 | /* followed by: | ||
102 | - char address[address_length] | ||
103 | - char plugin_name[plugin_name_length] (including '\0'-termination). | ||
104 | */ | ||
105 | |||
106 | }; | ||
107 | |||
87 | 108 | ||
88 | struct AddressDestroyedMessage | 109 | struct AddressDestroyedMessage |
89 | { | 110 | { |