Ignore:
File:
1 edited

Legend:

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

    r6b82009 r46d4d9f  
    3535
    3636#include <net/socket_codes.h>
     37#include <async.h>
    3738#include <ipc/services.h>
     39
    3840#include <net/device.h>
    3941#include <net/packet.h>
     42
    4043#include <net/in.h>
    4144#include <net/ip_codes.h>
     45
    4246#include <ip_remote.h>
    43 #include <async.h>
    4447
    4548#define ip_received_error_msg  ip_received_error_msg_remote
     
    5861/** The transport layer notification function type definition.
    5962 *
    60  * Notify the transport layer modules about the received packet/s.
     63 * Notifies the transport layer modules about the received packet/s.
    6164 *
    62  * @param[in] device_id Device identifier.
    63  * @param[in] packet    Received packet or the received packet queue.
    64  * @param[in] receiver  Receiving module service.
    65  * @param[in] error     Packet error reporting service. Prefixes the
    66  *                      received packet.
    67  *
    68  * @return EOK on success.
    69  *
     65 * @param[in] device_id The device identifier.
     66 * @param[in] packet    The received packet or the received packet queue.
     67 * @param[in] receiver  The receiving module service.
     68 * @param[in] error     The packet error reporting service. Prefixes the
     69 *                      received packet.
     70 * @return              EOK on success.
    7071 */
    7172typedef int (*tl_received_msg_t)(device_id_t device_id, packet_t *packet,
    7273    services_t receiver, services_t error);
    7374
    74 extern async_sess_t *ip_bind_service(services_t, int, services_t, async_client_conn_t);
    75 extern async_sess_t *ip_connect_module(services_t);
     75extern int ip_bind_service(services_t, int, services_t, async_client_conn_t);
     76extern int ip_connect_module(services_t);
    7677
    7778/*@}*/
Note: See TracChangeset for help on using the changeset viewer.