diff options
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.h | 8 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_plugins.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h index a18cce2c7..b39484f59 100644 --- a/src/ats/gnunet-service-ats_addresses.h +++ b/src/ats/gnunet-service-ats_addresses.h | |||
@@ -57,7 +57,7 @@ | |||
57 | * | 57 | * |
58 | * ATS specifies a fix set of networks an address can belong to. For each | 58 | * ATS specifies a fix set of networks an address can belong to. For each |
59 | * network an inbound and outbound quota will be specified. The available | 59 | * network an inbound and outbound quota will be specified. The available |
60 | * networks and addtional helper varaibles are defined in | 60 | * networks and additional helper variables are defined in |
61 | * gnunet_ats_service.h. At the moment 5 networks are defined: | 61 | * gnunet_ats_service.h. At the moment 5 networks are defined: |
62 | * * GNUNET_NT_UNSPECIFIED | 62 | * * GNUNET_NT_UNSPECIFIED |
63 | * * GNUNET_NT_LOOPBACK | 63 | * * GNUNET_NT_LOOPBACK |
@@ -123,7 +123,7 @@ | |||
123 | * * s_init: init the solver with required information | 123 | * * s_init: init the solver with required information |
124 | * * s_add: add a new address | 124 | * * s_add: add a new address |
125 | * * s_update: update ATS values or session for an address | 125 | * * s_update: update ATS values or session for an address |
126 | * * s_get: get prefered address for a peer | 126 | * * s_get: get preferred address for a peer |
127 | * * s_del: delete an address | 127 | * * s_del: delete an address |
128 | * * s_pref: change preference value for a peer | 128 | * * s_pref: change preference value for a peer |
129 | * * s_done: shutdown solver | 129 | * * s_done: shutdown solver |
@@ -180,7 +180,7 @@ | |||
180 | * The address client issues a request address message to be notified about | 180 | * The address client issues a request address message to be notified about |
181 | * address suggestions for a specific peer. Addresses asks the solver with | 181 | * address suggestions for a specific peer. Addresses asks the solver with |
182 | * s_get. If no address is available, it will not send a response, otherwise | 182 | * s_get. If no address is available, it will not send a response, otherwise |
183 | * it will respond with the choosen address. | 183 | * it will respond with the chosen address. |
184 | * | 184 | * |
185 | * 1.7.5 Address suggestions | 185 | * 1.7.5 Address suggestions |
186 | * | 186 | * |
@@ -213,7 +213,7 @@ | |||
213 | * 1.9 Changing peer preferences | 213 | * 1.9 Changing peer preferences |
214 | * | 214 | * |
215 | * The bandwidth assigned to a peer can be influenced by setting a preference | 215 | * The bandwidth assigned to a peer can be influenced by setting a preference |
216 | * for a peer. The prefernce will be given to to the solver with s_pref which | 216 | * for a peer. The preference will be given to to the solver with s_pref which |
217 | * has to take care of the preference value | 217 | * has to take care of the preference value |
218 | */ | 218 | */ |
219 | 219 | ||
diff --git a/src/ats/gnunet-service-ats_plugins.h b/src/ats/gnunet-service-ats_plugins.h index 4165fe9e2..0bd358917 100644 --- a/src/ats/gnunet-service-ats_plugins.h +++ b/src/ats/gnunet-service-ats_plugins.h | |||
@@ -34,7 +34,7 @@ | |||
34 | * Initialize address subsystem. The addresses subsystem manages the addresses | 34 | * Initialize address subsystem. The addresses subsystem manages the addresses |
35 | * known and current performance information. It has a solver component | 35 | * known and current performance information. It has a solver component |
36 | * responsible for the resource allocation. It tells the solver about changes | 36 | * responsible for the resource allocation. It tells the solver about changes |
37 | * and receives updates when the solver changes the ressource allocation. | 37 | * and receives updates when the solver changes the resource allocation. |
38 | * | 38 | * |
39 | * @param cfg configuration to use | 39 | * @param cfg configuration to use |
40 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error (failed to load | 40 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error (failed to load |