Changeset ae972834 in mainline for uspace/lib/net/include/packet_client.h
- Timestamp:
- 2010-10-08T21:47:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b278b4e
- Parents:
- c0e74b1 (diff), 368fb2c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/packet_client.h
rc0e74b1 rae972834 45 45 #define __NET_PACKET_CLIENT_H__ 46 46 47 #include < packet/packet.h>47 #include <net/packet.h> 48 48 49 49 /** @name Packet client interface … … 172 172 * @returns Other error codes as defined for the packet_return() function. 173 173 */ 174 extern int packet_translate_ local(int phone, packet_ref packet, packet_id_t packet_id);174 extern int packet_translate_remote(int phone, packet_ref packet, packet_id_t packet_id); 175 175 176 176 /** Obtains the packet of the given dimensions. … … 184 184 * @returns NULL on error. 185 185 */ 186 extern packet_t packet_get_4_ local(int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix);186 extern packet_t packet_get_4_remote(int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix); 187 187 188 188 /** Obtains the packet of the given content size. … … 193 193 * @returns NULL on error. 194 194 */ 195 extern packet_t packet_get_1_ local(int phone, size_t content);195 extern packet_t packet_get_1_remote(int phone, size_t content); 196 196 197 197 /** Releases the packet queue. … … 202 202 * @param[in] packet_id The packet identifier. 203 203 */ 204 extern void pq_release_ local(int phone, packet_id_t packet_id);204 extern void pq_release_remote(int phone, packet_id_t packet_id); 205 205 206 206 /** Returns the packet copy.
Note:
See TracChangeset
for help on using the changeset viewer.