Changes in uspace/lib/net/generic/packet_remote.c [79ae36dd:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/packet_remote.c
r79ae36dd rffa2c8ef 37 37 38 38 #include <async.h> 39 #include <async_obsolete.h>40 39 #include <errno.h> 41 40 #include <ipc/packet.h> … … 60 59 * @return EOK on success. 61 60 * @return Other error codes as defined for the pm_add() function. 62 * @return Other error codes as defined for the async_ obsolete_share_in_start() function.61 * @return Other error codes as defined for the async_share_in_start() function. 63 62 * 64 63 */ … … 70 69 int rc; 71 70 72 message = async_ obsolete_send_1(phone, NET_PACKET_GET, packet_id, &answer);71 message = async_send_1(phone, NET_PACKET_GET, packet_id, &answer); 73 72 74 73 *packet = (packet_t *) as_get_mappable_page(size); 75 rc = async_ obsolete_share_in_start_0_0(phone, *packet, size);74 rc = async_share_in_start_0_0(phone, *packet, size); 76 75 if (rc != EOK) { 77 76 munmap(*packet, size); … … 118 117 sysarg_t size; 119 118 120 rc = async_ obsolete_req_1_1(phone, NET_PACKET_GET_SIZE, packet_id,119 rc = async_req_1_1(phone, NET_PACKET_GET_SIZE, packet_id, 121 120 &size); 122 121 if (rc != EOK) … … 155 154 int rc; 156 155 157 rc = async_ obsolete_req_4_2(phone, NET_PACKET_CREATE_4, max_content, addr_len,156 rc = async_req_4_2(phone, NET_PACKET_CREATE_4, max_content, addr_len, 158 157 max_prefix, max_suffix, &packet_id, &size); 159 158 if (rc != EOK) … … 186 185 int rc; 187 186 188 rc = async_ obsolete_req_1_2(phone, NET_PACKET_CREATE_1, content, &packet_id,187 rc = async_req_1_2(phone, NET_PACKET_CREATE_1, content, &packet_id, 189 188 &size); 190 189 if (rc != EOK) … … 213 212 void pq_release_remote(int phone, packet_id_t packet_id) 214 213 { 215 async_ obsolete_msg_1(phone, NET_PACKET_RELEASE, packet_id);214 async_msg_1(phone, NET_PACKET_RELEASE, packet_id); 216 215 } 217 216
Note:
See TracChangeset
for help on using the changeset viewer.