Ignore:
File:
1 edited

Legend:

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

    r609243f4 r014dd57b  
    3434#include <generic.h>
    3535#include <packet_client.h>
     36
    3637#include <ipc/services.h>
    3738#include <ipc/tl.h>
     39
    3840#include <net/device.h>
    3941#include <net/packet.h>
    40 #include <async.h>
    4142
    4243/** Notify the remote transport layer modules about the received packet/s.
    4344 *
    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.
     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.
    4748 *                      The packet queue is used to carry a fragmented
    4849 *                      datagram. The first packet contains the headers,
    4950 *                      the others contain only data.
    50  * @param[in] target    Target transport layer module service to be
     51 * @param[in] target    The target transport layer module service to be
    5152 *                      delivered to.
    52  * @param[in] error     Packet error reporting service. Prefixes the
     53 * @param[in] error     The packet error reporting service. Prefixes the
    5354 *                      received packet.
    5455 *
     
    5657 *
    5758 */
    58 int tl_received_msg(async_sess_t *sess, nic_device_id_t device_id, packet_t *packet,
     59int tl_received_msg(int tl_phone, device_id_t device_id, packet_t *packet,
    5960    services_t target, services_t error)
    6061{
    61         return generic_received_msg_remote(sess, NET_TL_RECEIVED, device_id,
     62        return generic_received_msg_remote(tl_phone, NET_TL_RECEIVED, device_id,
    6263            packet_get_id(packet), target, error);
    6364}
Note: See TracChangeset for help on using the changeset viewer.