Subversion Repositories HelenOS

Rev

Rev 4720 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4720 Rev 4756
Line 193... Line 193...
193
     */
193
     */
194
    measured_strings_t  configuration;
194
    measured_strings_t  configuration;
195
};
195
};
196
 
196
 
197
/** Adds the configured setting to the configuration map.
197
/** Adds the configured setting to the configuration map.
198
 *  @param configuration The configuration map. Input parameter.
198
 *  @param[in] configuration The configuration map.
199
 *  @param name The setting name. Input parameter.
199
 *  @param[in] name The setting name.
200
 *  @param value The setting value. Input parameter.
200
 *  @param[in] value The setting value.
201
 *  @returns EOK on success.
201
 *  @returns EOK on success.
202
 *  @returns ENOMEM if there is not enough memory left.
202
 *  @returns ENOMEM if there is not enough memory left.
203
 */
203
 */
204
int add_configuration( measured_strings_ref configuration, const char * name, const char * value );
204
int add_configuration( measured_strings_ref configuration, const char * name, const char * value );
205
 
205
 
206
/** Processes the networking message.
206
/** Processes the networking message.
207
 *  @param callid The message identifier. Input parameter.
207
 *  @param[in] callid The message identifier.
208
 *  @param call The message parameters. Input parameter.
208
 *  @param[in] call The message parameters.
209
 *  @param answer The message answer parameters. Output parameter.
209
 *  @param[out] answer The message answer parameters.
210
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
210
 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
211
 *  @returns EOK on success.
211
 *  @returns EOK on success.
212
 *  @returns ENOTSUP if the message is not known.
212
 *  @returns ENOTSUP if the message is not known.
213
 *  @see net_interface.h
213
 *  @see net_interface.h
214
 *  @see IS_NET_NET_MESSAGE()
214
 *  @see IS_NET_NET_MESSAGE()
215
 */
215
 */
216
int net_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
216
int net_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
217
 
217
 
218
/** Initializes the networking module for the chosen subsystem build type.
218
/** Initializes the networking module for the chosen subsystem build type.
219
 *  @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter.
219
 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
220
 *  @returns EOK on success.
220
 *  @returns EOK on success.
221
 *  @returns ENOMEM if there is not enough memory left.
221
 *  @returns ENOMEM if there is not enough memory left.
222
 */
222
 */
223
int net_initialize_build( async_client_conn_t client_connection );
223
int net_initialize_build( async_client_conn_t client_connection );
224
 
224
 
225
/** Processes the module message.
225
/** Processes the module message.
226
 *  Distributes the message to the right bundled module.
226
 *  Distributes the message to the right bundled module.
227
 *  @param callid The message identifier. Input parameter.
227
 *  @param[in] callid The message identifier.
228
 *  @param call The message parameters. Input parameter.
228
 *  @param[in] call The message parameters.
229
 *  @param answer The message answer parameters. Output parameter.
229
 *  @param[out] answer The message answer parameters.
230
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
230
 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
231
 *  @returns EOK on success.
231
 *  @returns EOK on success.
232
 *  @returns ENOTSUP if the message is not known.
232
 *  @returns ENOTSUP if the message is not known.
233
 *  @returns Other error codes as defined for each bundled module message function.
233
 *  @returns Other error codes as defined for each bundled module message function.
234
 */
234
 */
235
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
235
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
236
 
236
 
237
/** Reads the network interface specific configuration for the chosen subsystem build type.
237
/** Reads the network interface specific configuration for the chosen subsystem build type.
238
 *  @param name The network interface name. Input parameter.
238
 *  @param[in] name The network interface name.
239
 *  @param netif The network interface structure. Input/output parameter.
239
 *  @param[in,out] netif The network interface structure.
240
 *  @returns EOK on success.
240
 *  @returns EOK on success.
241
 *  @returns Other error codes as defined for the add_configuration() function.
241
 *  @returns Other error codes as defined for the add_configuration() function.
242
 */
242
 */
243
int read_netif_configuration_build( char * name, netif_ref netif );
243
int read_netif_configuration_build( char * name, netif_ref netif );
244
 
244