Changes in uspace/lib/net/generic/packet_remote.c [0ab68f6:1bfd3d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/packet_remote.c
r0ab68f6 r1bfd3d3 64 64 */ 65 65 static int 66 packet_return(int phone, packet_ refpacket, packet_id_t packet_id, size_t size)66 packet_return(int phone, packet_t *packet, packet_id_t packet_id, size_t size) 67 67 { 68 68 ipc_call_t answer; … … 100 100 * @param[out] packet The packet reference. 101 101 * @param[in] packet_id The packet identifier. 102 * @return sEOK on success.103 * @return sEINVAL if the packet parameter is NULL.104 * @return sOther error codes as defined for the NET_PACKET_GET_SIZE102 * @return EOK on success. 103 * @return EINVAL if the packet parameter is NULL. 104 * @return Other error codes as defined for the NET_PACKET_GET_SIZE 105 105 * message. 106 * @return sOther error codes as defined for the packet_return()106 * @return Other error codes as defined for the packet_return() 107 107 * function. 108 108 */ 109 int packet_translate_remote(int phone, packet_ refpacket, packet_id_t packet_id)109 int packet_translate_remote(int phone, packet_t *packet, packet_id_t packet_id) 110 110 { 111 111 int rc; … … 145 145 * @param[in] max_content The maximal content length in bytes. 146 146 * @param[in] max_suffix The maximal suffix length in bytes. 147 * @return sThe packet reference.148 * @return sNULL on error.147 * @return The packet reference. 148 * @return NULL on error. 149 149 */ 150 150 packet_t packet_get_4_remote(int phone, size_t max_content, size_t addr_len, … … 177 177 * @param[in] phone The packet server module phone. 178 178 * @param[in] content The maximal content length in bytes. 179 * @return sThe packet reference.180 * @return sNULL on error.179 * @return The packet reference. 180 * @return NULL on error. 181 181 */ 182 182 packet_t packet_get_1_remote(int phone, size_t content)
Note:
See TracChangeset
for help on using the changeset viewer.