diff options
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 6f3b886d8..c82b11762 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -3095,9 +3095,57 @@ extern "C" | |||
3095 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_END 1252 | 3095 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_END 1252 |
3096 | 3096 | ||
3097 | 3097 | ||
3098 | /* ************** NEW (NG) ATS Messages ************* */ | ||
3099 | |||
3100 | /** | ||
3101 | * Type of the 'struct ExpressPreferenceMessage' send by clients to ATS | ||
3102 | * to establish bandwidth preference. | ||
3103 | */ | ||
3104 | #define GNUNET_MESSAGE_TYPE_ATS_SUGGEST 1400 | ||
3105 | |||
3098 | /** | 3106 | /** |
3099 | * Next available: 1400 | 3107 | * Type of the 'struct ExpressPreferenceMessage' send by clients to ATS |
3108 | * to abandon bandwidth preference. | ||
3100 | */ | 3109 | */ |
3110 | #define GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL 1401 | ||
3111 | |||
3112 | |||
3113 | /** | ||
3114 | * Type of the 'struct SessionAddMessage' send by transport clients to ATS | ||
3115 | * to ask ATS to allocate resources to a session. | ||
3116 | */ | ||
3117 | #define GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD 1402 | ||
3118 | |||
3119 | /** | ||
3120 | * Type of the 'struct SessionAddMessage' send by transport clients to ATS | ||
3121 | * to inform ATS about a session where resources are consumed but allocation | ||
3122 | * is impossible (unidirectional). | ||
3123 | */ | ||
3124 | #define GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD_INBOUND_ONLY 1403 | ||
3125 | |||
3126 | /** | ||
3127 | * Type of the 'struct SessionUpdateMessage' send by transport clients to ATS | ||
3128 | * to inform ATS about property changes of a session. | ||
3129 | */ | ||
3130 | #define GNUNET_MESSAGE_TYPE_ATS_SESSION_UPDATE 1404 | ||
3131 | |||
3132 | /** | ||
3133 | * Type of the 'struct SessionDelMessage' send by transport clients to ATS | ||
3134 | * to tell ATS that a session is no longer available. | ||
3135 | */ | ||
3136 | #define GNUNET_MESSAGE_TYPE_ATS_SESSION_DEL 1405 | ||
3137 | |||
3138 | /** | ||
3139 | * Type of the 'struct SessionAllocationMessage' send by ATS to the | ||
3140 | * transport to tell it about resources to allocate to the session. | ||
3141 | */ | ||
3142 | #define GNUNET_MESSAGE_TYPE_ATS_SESSION_ALLOCATION 1406 | ||
3143 | |||
3144 | |||
3145 | /** | ||
3146 | * Next available: 1450 | ||
3147 | */ | ||
3148 | |||
3101 | 3149 | ||
3102 | 3150 | ||
3103 | /** | 3151 | /** |