Subversion Repositories HelenOS

Rev

Rev 4499 | Rev 4707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4499 Rev 4704
Line 29... Line 29...
29
/** @addtogroup net_tl
29
/** @addtogroup net_tl
30
 *  @{
30
 *  @{
31
 */
31
 */
32
 
32
 
33
/** @file
33
/** @file
34
 *  Transport layer interface for the underlying internetwork layer.
34
 *  Transport layer module interface for the underlying internetwork layer.
35
 */
35
 */
36
 
36
 
37
#ifndef __NET_TL_INTERFACE_H__
37
#ifndef __NET_TL_INTERFACE_H__
38
#define __NET_TL_INTERFACE_H__
38
#define __NET_TL_INTERFACE_H__
39
 
39
 
Line 48... Line 48...
48
#include "../structures/packet/packet.h"
48
#include "../structures/packet/packet.h"
49
#include "../structures/packet/packet_client.h"
49
#include "../structures/packet/packet_client.h"
50
 
50
 
51
#include "../tl/tl_messages.h"
51
#include "../tl/tl_messages.h"
52
 
52
 
-
 
53
/** @name Transport layer module interface
-
 
54
 *  This interface is used by other modules.
-
 
55
 */
-
 
56
/*@{*/
-
 
57
 
53
/** Notifies the remote transport layer modules about the received packet/s.
58
/** Notifies the remote transport layer modules about the received packet/s.
54
 *  @param tl_phone The transport layer module phone used for remote calls. Input parameter.
59
 *  @param tl_phone The transport layer module phone used for remote calls. Input parameter.
55
 *  @param device_id The device identifier. Input parameter.
60
 *  @param device_id The device identifier. Input parameter.
56
 *  @param packet The received packet or the received packet queue. Input parameter.
61
 *  @param packet The received packet or the received packet queue. Input parameter.
57
 *  @param target The target transport layer module service to be delivered to. Input parameter.
62
 *  @param target The target transport layer module service to be delivered to. Input parameter.
Line 59... Line 64...
59
 */
64
 */
60
inline static int   tl_received_msg( int tl_phone, device_id_t device_id, packet_t packet, services_t target ){
65
inline static int   tl_received_msg( int tl_phone, device_id_t device_id, packet_t packet, services_t target ){
61
    return generic_received_msg( tl_phone, NET_TL_RECEIVED, device_id, packet_get_id( packet ), target );
66
    return generic_received_msg( tl_phone, NET_TL_RECEIVED, device_id, packet_get_id( packet ), target );
62
}
67
}
63
 
68
 
-
 
69
/*@}*/
-
 
70
 
64
#endif
71
#endif
65
 
72
 
66
/** @}
73
/** @}
67
 */
74
 */