Ignore:
File:
1 edited

Legend:

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

    r46d4d9f r00d7e1b  
    3535
    3636#include <net/socket_codes.h>
    37 #include <async.h>
    3837#include <ipc/services.h>
    39 
    4038#include <net/device.h>
    4139#include <net/packet.h>
    42 
    4340#include <net/in.h>
    4441#include <net/ip_codes.h>
    45 
    4642#include <ip_remote.h>
     43#include <async.h>
    4744
    4845#define ip_received_error_msg  ip_received_error_msg_remote
    4946#define ip_set_gateway_req     ip_set_gateway_req_remote
    5047#define ip_packet_size_req     ip_packet_size_req_remote
    51 #define ip_device_req          ip_device_req_remote
    5248#define ip_add_route_req       ip_add_route_req_remote
    5349#define ip_send_msg            ip_send_msg_remote
     
    6157/** The transport layer notification function type definition.
    6258 *
    63  * Notifies the transport layer modules about the received packet/s.
     59 * Notify the transport layer modules about the received packet/s.
    6460 *
    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.
     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 *
    7169 */
    72 typedef int (*tl_received_msg_t)(device_id_t device_id, packet_t *packet,
     70typedef int (*tl_received_msg_t)(nic_device_id_t device_id, packet_t *packet,
    7371    services_t receiver, services_t error);
    7472
    75 extern int ip_bind_service(services_t, int, services_t, async_client_conn_t);
    76 extern int ip_connect_module(services_t);
     73extern async_sess_t *ip_bind_service(services_t, int, services_t, async_client_conn_t);
     74extern async_sess_t *ip_connect_module(services_t);
    7775
    7876/*@}*/
Note: See TracChangeset for help on using the changeset viewer.