Changeset 12d7710 in mainline for uspace/srv/net/nil/nildummy/nildummy.c
- Timestamp:
- 2010-03-26T22:01:28Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1faa995
- Parents:
- 4204ad9 (diff), eaf22d4 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/nildummy/nildummy.c
r4204ad9 r12d7710 40 40 #include <mem.h> 41 41 #include <stdio.h> 42 #include <str ing.h>42 #include <str.h> 43 43 44 44 #include <ipc/ipc.h> … … 316 316 measured_string_ref address; 317 317 packet_t packet; 318 size_t addrlen; 319 size_t prefix; 320 size_t suffix; 321 size_t content; 318 322 319 323 // printf("message %d - %d\n", IPC_GET_METHOD(*call), NET_NIL_FIRST); … … 328 332 return nildummy_send_message(IPC_GET_DEVICE(call), packet, IPC_GET_SERVICE(call)); 329 333 case NET_NIL_PACKET_SPACE: 330 ERROR_PROPAGATE(nildummy_packet_space_message(IPC_GET_DEVICE(call), IPC_SET_ADDR(answer), IPC_SET_PREFIX(answer), IPC_SET_CONTENT(answer), IPC_SET_SUFFIX(answer))); 334 ERROR_PROPAGATE(nildummy_packet_space_message(IPC_GET_DEVICE(call), &addrlen, &prefix, &content, &suffix)); 335 IPC_SET_ADDR(answer, addrlen); 336 IPC_SET_PREFIX(answer, prefix); 337 IPC_SET_CONTENT(answer, content); 338 IPC_SET_SUFFIX(answer, suffix); 331 339 *answer_count = 4; 332 340 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.