Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/tl/tl_remote.c

    r014dd57b r609243f4  
    3434#include <generic.h>
    3535#include <packet_client.h>
    36 
    3736#include <ipc/services.h>
    3837#include <ipc/tl.h>
    39 
    4038#include <net/device.h>
    4139#include <net/packet.h>
     40#include <async.h>
    4241
    4342/** Notify the remote transport layer modules about the received packet/s.
    4443 *
    45  * @param[in] tl_phone  The transport layer module phone used for remote calls.
    46  * @param[in] device_id The device identifier.
    47  * @param[in] packet    The received packet or the received packet queue.
     44 * @param[in] sess      Transport layer module session.
     45 * @param[in] device_id Device identifier.
     46 * @param[in] packet    Received packet or the received packet queue.
    4847 *                      The packet queue is used to carry a fragmented
    4948 *                      datagram. The first packet contains the headers,
    5049 *                      the others contain only data.
    51  * @param[in] target    The target transport layer module service to be
     50 * @param[in] target    Target transport layer module service to be
    5251 *                      delivered to.
    53  * @param[in] error     The packet error reporting service. Prefixes the
     52 * @param[in] error     Packet error reporting service. Prefixes the
    5453 *                      received packet.
    5554 *
     
    5756 *
    5857 */
    59 int tl_received_msg(int tl_phone, device_id_t device_id, packet_t *packet,
     58int tl_received_msg(async_sess_t *sess, nic_device_id_t device_id, packet_t *packet,
    6059    services_t target, services_t error)
    6160{
    62         return generic_received_msg_remote(tl_phone, NET_TL_RECEIVED, device_id,
     61        return generic_received_msg_remote(sess, NET_TL_RECEIVED, device_id,
    6362            packet_get_id(packet), target, error);
    6463}
Note: See TracChangeset for help on using the changeset viewer.