Changeset ae972834 in mainline for uspace/lib/net/generic/packet_client.c
- 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/generic/packet_client.c
rc0e74b1 rae972834 41 41 #include <sys/mman.h> 42 42 43 #include <packet_client.h> 44 43 45 #include <net_messages.h> 44 #include <packet/packet.h> 45 #include <packet/packet_header.h> 46 #include <packet/packet_client.h> 46 #include <net/packet.h> 47 #include <net/packet_header.h> 47 48 48 49 int packet_copy_data(packet_t packet, const void * data, size_t length) … … 181 182 182 183 // get a new packet 183 copy = packet_get_4_ local(phone, PACKET_DATA_LENGTH(packet),184 copy = packet_get_4_remote(phone, PACKET_DATA_LENGTH(packet), 184 185 PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix, 185 186 PACKET_MIN_SUFFIX(packet)); … … 199 200 return copy; 200 201 } else { 201 pq_release_ local(phone, copy->packet_id);202 pq_release_remote(phone, copy->packet_id); 202 203 return NULL; 203 204 }
Note:
See TracChangeset
for help on using the changeset viewer.