Ignore:
Timestamp:
2011-06-22T20:41:41Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef09a7a
Parents:
55091847
Message:

networking stack: convert to the new async framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r55091847 r6b82009  
    3636
    3737#include <packet_server.h>
    38 
    3938#include <align.h>
    4039#include <assert.h>
     
    317316 *                      packet_release_wrapper() function.
    318317 */
    319 int
    320 packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
     318int packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
    321319    size_t *answer_count)
    322320{
    323321        packet_t *packet;
    324 
    325         *answer_count = 0;
    326322       
    327323        if (!IPC_GET_IMETHOD(*call))
    328324                return EOK;
    329325       
     326        *answer_count = 0;
    330327        switch (IPC_GET_IMETHOD(*call)) {
    331328        case NET_PACKET_CREATE_1:
Note: See TracChangeset for help on using the changeset viewer.