Ignore:
File:
1 edited

Legend:

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

    r00d7e1b 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
    4649#define ip_set_gateway_req     ip_set_gateway_req_remote
    4750#define ip_packet_size_req     ip_packet_size_req_remote
     51#define ip_device_req          ip_device_req_remote
    4852#define ip_add_route_req       ip_add_route_req_remote
    4953#define ip_send_msg            ip_send_msg_remote
     
    5761/** The transport layer notification function type definition.
    5862 *
    59  * Notify the transport layer modules about the received packet/s.
     63 * Notifies the transport layer modules about the received packet/s.
    6064 *
    61  * @param[in] device_id Device identifier.
    62  * @param[in] packet    Received packet or the received packet queue.
    63  * @param[in] receiver  Receiving module service.
    64  * @param[in] error     Packet error reporting service. Prefixes the
    65  *                      received packet.
    66  *
    67  * @return EOK on success.
    68  *
     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.
    6971 */
    70 typedef int (*tl_received_msg_t)(nic_device_id_t device_id, packet_t *packet,
     72typedef int (*tl_received_msg_t)(device_id_t device_id, packet_t *packet,
    7173    services_t receiver, services_t error);
    7274
    73 extern async_sess_t *ip_bind_service(services_t, int, services_t, async_client_conn_t);
    74 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);
    7577
    7678/*@}*/
Note: See TracChangeset for help on using the changeset viewer.