Rev 4731 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4731 | Rev 4756 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | * This interface is used by other modules. |
54 | * This interface is used by other modules. |
55 | */ |
55 | */ |
56 | /*@{*/ |
56 | /*@{*/ |
57 | 57 | ||
58 | /** Notifies the remote transport layer modules about the received packet/s. |
58 | /** Notifies the remote transport layer modules about the received packet/s. |
59 | * @param tl_phone The transport layer module phone used for remote calls. Input parameter. |
59 | * @param[in] tl_phone The transport layer module phone used for remote calls. |
60 | * @param device_id The device identifier. Input parameter. |
60 | * @param[in] device_id The device identifier. |
61 | * @param packet The received packet or the received packet queue. The packet queue is used to carry a~fragmented datagram. The first packet contains the headers, the others contain only data. Input parameter. |
61 | * @param[in] packet The received packet or the received packet queue. The packet queue is used to carry a~fragmented datagram. The first packet contains the headers, the others contain only data. |
62 | * @param target The target transport layer module service to be delivered to. Input parameter. |
62 | * @param[in] target The target transport layer module service to be delivered to. |
63 | * @param error The packet error reporting service. Prefixes the received packet. Input parameter. |
63 | * @param[in] error The packet error reporting service. Prefixes the received packet. |
64 | * @returns EOK on success. |
64 | * @returns EOK on success. |
65 | */ |
65 | */ |
66 | inline static int tl_received_msg( int tl_phone, device_id_t device_id, packet_t packet, services_t target, services_t error ){ |
66 | inline static int tl_received_msg( int tl_phone, device_id_t device_id, packet_t packet, services_t target, services_t error ){ |
67 | return generic_received_msg( tl_phone, NET_TL_RECEIVED, device_id, packet_get_id( packet ), target, error ); |
67 | return generic_received_msg( tl_phone, NET_TL_RECEIVED, device_id, packet_get_id( packet ), target, error ); |
68 | } |
68 | } |