Changes in uspace/lib/net/generic/packet_client.c [28a3e74:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/packet_client.c
r28a3e74 r46d4d9f 267 267 return NULL; 268 268 269 / * Get a new packet */269 // get a new packet 270 270 copy = packet_get_4_remote(phone, PACKET_DATA_LENGTH(packet), 271 271 PACKET_MAX_ADDRESS_LENGTH(packet), packet->max_prefix, … … 274 274 return NULL; 275 275 276 / * Get addresses */276 // get addresses 277 277 addrlen = packet_get_addr(packet, &src, &dest); 278 / * Copy data */278 // copy data 279 279 if ((packet_copy_data(copy, packet_get_data(packet), 280 280 PACKET_DATA_LENGTH(packet)) == EOK) && 281 / * Copy addresses if present */281 // copy addresses if present 282 282 ((addrlen <= 0) || 283 283 (packet_set_addr(copy, src, dest, addrlen) == EOK))) {
Note:
See TracChangeset
for help on using the changeset viewer.