Subversion Repositories HelenOS

Rev

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

Rev 4720 Rev 4722
Line 47... Line 47...
47
#include "../include/device.h"
47
#include "../include/device.h"
48
 
48
 
49
#include "../structures/packet/packet.h"
49
#include "../structures/packet/packet.h"
50
 
50
 
51
#include "in.h"
51
#include "in.h"
-
 
52
#include "ip_codes.h"
-
 
53
#include "socket_codes.h"
52
 
54
 
53
/** @name IP module interface
55
/** @name IP module interface
54
 *  This interface is used by other modules.
56
 *  This interface is used by other modules.
55
 */
57
 */
56
/*@{*/
58
/*@{*/
57
 
59
 
-
 
60
/** Type definition of the internet pseudo header pointer.
-
 
61
 */
-
 
62
typedef void *      ip_pseudo_header_ref;
-
 
63
 
58
/** The transport layer notification function type definition.
64
/** The transport layer notification function type definition.
59
 *  Notifies the transport layer modules about the received packet/s.
65
 *  Notifies the transport layer modules about the received packet/s.
60
 *  @param device_id The device identifier. Input parameter.
66
 *  @param device_id The device identifier. Input parameter.
61
 *  @param packet The received packet or the received packet queue. Input parameter.
67
 *  @param packet The received packet or the received packet queue. Input parameter.
62
 *  @param receiver The receiving module service. Input parameter.
68
 *  @param receiver The receiving module service. Input parameter.
Line 151... Line 157...
151
 *  @param error The packet error reporting service. Prefixes the received packet. Input parameter.
157
 *  @param error The packet error reporting service. Prefixes the received packet. Input parameter.
152
 *  @returns EOK on success.
158
 *  @returns EOK on success.
153
 */
159
 */
154
int ip_received_error_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error );
160
int ip_received_error_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error );
155
 
161
 
-
 
162
/** \todo
-
 
163
 */
-
 
164
int ip_get_route_req( int ip_phone, ip_protocol_t protocol, const struct sockaddr * destination, socklen_t addrlen, device_id_t * device_id, ip_pseudo_header_ref * header, size_t * headerlen );
-
 
165
 
156
/*@}*/
166
/*@}*/
157
 
167
 
158
#endif
168
#endif
159
 
169
 
160
/** @}
170
/** @}