Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/arp/arp_module.h

    re9caf47 r14f1db0  
    2828
    2929/** @addtogroup arp
    30  * @{
     30 *  @{
    3131 */
    3232
    3333/** @file
    34  * ARP module functions.
    35  * The functions are used as ARP module entry points.
     34 *  ARP module functions.
     35 *  The functions are used as ARP module entry points.
    3636 */
    3737
    38 #ifndef NET_ARP_MODULE_H_
    39 #define NET_ARP_MODULE_H_
     38#ifndef __NET_ARP_MODULE_H__
     39#define __NET_ARP_MODULE_H__
    4040
    4141#include <ipc/ipc.h>
    42 #include <async.h>
    4342
    44 extern int arp_initialize(async_client_conn_t);
    45 extern int arp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *,
    46     int *);
     43/** Initializes the ARP module.
     44 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
     45 *  @returns EOK on success.
     46 *  @returns ENOMEM if there is not enough memory left.
     47 */
     48int arp_initialize(async_client_conn_t client_connection);
     49
     50/** Processes the ARP message.
     51 *  @param[in] callid The message identifier.
     52 *  @param[in] call The message parameters.
     53 *  @param[out] answer The message answer parameters.
     54 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
     55 *  @returns EOK on success.
     56 *  @returns ENOTSUP if the message is not known.
     57 *  @see arp_interface.h
     58 *  @see IS_NET_ARP_MESSAGE()
     59 */
     60int arp_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
    4761
    4862#endif
Note: See TracChangeset for help on using the changeset viewer.