Ignore:
Timestamp:
2010-03-26T22:01:28Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/nildummy/nildummy.c

    r4204ad9 r12d7710  
    4040#include <mem.h>
    4141#include <stdio.h>
    42 #include <string.h>
     42#include <str.h>
    4343
    4444#include <ipc/ipc.h>
     
    316316        measured_string_ref address;
    317317        packet_t packet;
     318        size_t addrlen;
     319        size_t prefix;
     320        size_t suffix;
     321        size_t content;
    318322
    319323//      printf("message %d - %d\n", IPC_GET_METHOD(*call), NET_NIL_FIRST);
     
    328332                        return nildummy_send_message(IPC_GET_DEVICE(call), packet, IPC_GET_SERVICE(call));
    329333                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);
    331339                        *answer_count = 4;
    332340                        return EOK;
Note: See TracChangeset for help on using the changeset viewer.