Changeset a8ca1d81 in mainline


Ignore:
Timestamp:
2010-10-17T21:34:21Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a609e0
Parents:
404dbae
Message:

Cleanup il local interfaces.

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/include/il_local.h

    r404dbae ra8ca1d81  
    2727 */
    2828
    29 /** @addtogroup il_local
    30  *  @{
     29/** @addtogroup libnet
     30 * @{
    3131 */
    3232
    33 #ifndef __IL_LOCAL_H__
    34 #define __IL_LOCAL_H__
     33#ifndef LIBNET_IL_LOCAL_H_
     34#define LIBNET_IL_LOCAL_H_
    3535
    3636#include <ipc/ipc.h>
    3737#include <async.h>
    3838
     39/** Processes the Internet layer module message.
     40 *
     41 * @param[in]           callid The message identifier.
     42 * @param[in]           call The message parameters.
     43 * @param[out]          answer The message answer parameters.
     44 * @param[out]          answer_count The last parameter for the actual answer in
     45 *                      the answer parameter.
     46 * @returns             EOK on success.
     47 * @returns             Other error codes as defined for the arp_message()
     48 *                      function.
     49 */
    3950extern int il_module_message_standalone(ipc_callid_t callid, ipc_call_t *call,
    4051    ipc_call_t *answer, int *answer_count);
     52
     53/** Starts the Internet layer module.
     54 *
     55 * Initializes the client connection servicing function, initializes the module,
     56 * registers the module service and starts the async manager, processing IPC
     57 * messages in an infinite loop.
     58 *
     59 * @param[in] client_connection The client connection processing function. The
     60 *                      module skeleton propagates its own one.
     61 * @returns             EOK on successful module termination.
     62 * @returns             Other error codes as defined for the arp_initialize()
     63 *                      function.
     64 * @returns             Other error codes as defined for the REGISTER_ME() macro
     65 *                      function.
     66 */
    4167extern int il_module_start_standalone(async_client_conn_t client_connection);
    4268
  • uspace/srv/net/il/arp/arp_module.c

    r404dbae ra8ca1d81  
    5757extern arp_globals_t    arp_globals;
    5858
    59 /** Processes the ARP message.
    60  *  @param[in] callid The message identifier.
    61  *  @param[in] call The message parameters.
    62  *  @param[out] answer The message answer parameters.
    63  *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
    64  *  @returns EOK on success.
    65  *  @returns Other error codes as defined for the arp_message() function.
    66  */
    6759int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
    6860        return arp_message_standalone(callid, call, answer, answer_count);
    6961}
    7062
    71 /** Starts the ARP module.
    72  *  Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.
    73  *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
    74  *  @returns EOK on successful module termination.
    75  *  @returns Other error codes as defined for the arp_initialize() function.
    76  *  @returns Other error codes as defined for the REGISTER_ME() macro function.
    77  */
    7863int il_module_start_standalone(async_client_conn_t client_connection){
    7964        ERROR_DECLARE;
  • uspace/srv/net/il/ip/ip_module.c

    r404dbae ra8ca1d81  
    5656extern ip_globals_t ip_globals;
    5757
    58 /** Processes the IP message.
    59  *  @param[in] callid The message identifier.
    60  *  @param[in] call The message parameters.
    61  *  @param[out] answer The message answer parameters.
    62  *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
    63  *  @returns EOK on success.
    64  *  @returns Other error codes as defined for the ip_message() function.
    65  */
    6658int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
    6759        return ip_message_standalone(callid, call, answer, answer_count);
    6860}
    6961
    70 /** Starts the IP module.
    71  *  Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.
    72  *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
    73  *  @returns EOK on successful module termination.
    74  *  @returns Other error codes as defined for the ip_initialize() function.
    75  *  @returns Other error codes as defined for the REGISTER_ME() macro function.
    76  */
    7762int il_module_start_standalone(async_client_conn_t client_connection){
    7863        ERROR_DECLARE;
Note: See TracChangeset for help on using the changeset viewer.