/branches/network/uspace/srv/net/structures/packet/packet_remote.c |
---|
54,8 → 54,8 |
* @param packet_id The packet identifier. Input parameter. |
* @param size The packet total size in bytes. Input parameter. |
* @returns EOK on success. |
* \todo ipc_share_in_start() error? |
* @returns Other error codes as defined for the pm_add() function. |
* @returns Other error codes as defined for the ipc_share_in_start() function. |
*/ |
int packet_return( int phone, packet_ref packet, packet_id_t packet_id, size_t size ); |
/branches/network/uspace/srv/net/structures/packet/packet_server.h |
---|
49,9 → 49,11 |
* @param call The message parameters. Input parameter. |
* @param answer The message answer parameters. Output parameter. |
* @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter. |
* \todo all possible message returns? |
* @returns EOK on success. |
* @returns ENOMEM if there is not enough memory left. |
* @returns ENOENT if there is no such packet as in the packet message parameter.. |
* @returns ENOTSUP if the message is not known. |
* @returns Other error codes as defined for the packet_release_wrapper() function. |
*/ |
int packet_server_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ); |
/branches/network/uspace/srv/net/structures/packet/packet_client.h |
---|
166,7 → 166,7 |
* @returns EOK on success. |
* @returns EINVAL if the packet parameter is NULL. |
* @returns Other error codes as defined for the NET_PACKET_GET_SIZE message. |
* \todo errors as packet_return() |
* @returns Other error codes as defined for the packet_return() function. |
*/ |
int packet_translate( int phone, packet_ref packet, packet_id_t packet_id ); |
179,7 → 179,6 |
* @param max_suffix The maximal suffix length in bytes. Input parameter. |
* @returns The packet reference. |
* @returns NULL on error. |
* \todo error as NET_PACKET_CREATE_4, packet_return() |
*/ |
packet_t packet_get_4( int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix ); |
189,7 → 188,6 |
* @param content The maximal content length in bytes. Input parameter. |
* @returns The packet reference. |
* @returns NULL on error. |
* \todo error as NET_PACKET_CREATE_1, packet_return() |
*/ |
packet_t packet_get_1( int phone, size_t content ); |
/branches/network/uspace/srv/net/structures/packet/packet_server.c |
---|
104,7 → 104,10 |
*/ |
packet_t packet_get( size_t addr_len, size_t max_prefix, size_t max_content, size_t max_suffix ); |
/** \todo |
/** Releases the packet queue. |
* @param packet_id The first packet identifier. Input parameter. |
* @returns EOK on success. |
* @returns ENOENT if there is no such packet. |
*/ |
int packet_release_wrapper( packet_id_t packet_id ); |