49,6 → 49,8 |
#include "../structures/packet/packet.h" |
|
#include "in.h" |
#include "ip_codes.h" |
#include "socket_codes.h" |
|
/** @name IP module interface |
* This interface is used by other modules. |
55,6 → 57,10 |
*/ |
/*@{*/ |
|
/** Type definition of the internet pseudo header pointer. |
*/ |
typedef void * ip_pseudo_header_ref; |
|
/** The transport layer notification function type definition. |
* Notifies the transport layer modules about the received packet/s. |
* @param device_id The device identifier. Input parameter. |
153,6 → 159,10 |
*/ |
int ip_received_error_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error ); |
|
/** \todo |
*/ |
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 ); |
|
/*@}*/ |
|
#endif |