Changeset ffa2c8ef in mainline for uspace/srv/net/net


Ignore:
Timestamp:
2011-01-29T11:36:08Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46b881c
Parents:
64d2b10
Message:

do not intermix low-level IPC methods with async framework methods

Location:
uspace/srv/net/net
Files:
3 edited

Legend:

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

    r64d2b10 rffa2c8ef  
    4747#include <str_error.h>
    4848
    49 #include <ipc/ipc.h>
    5049#include <ipc/services.h>
    5150#include <ipc/net.h>
     
    337336                goto out;
    338337       
    339         rc = ipc_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL, NULL);
     338        rc = async_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL);
    340339        if (rc != EOK)
    341340                goto out;
     
    686685         *  - Answer the first IPC_M_CONNECT_ME_TO call.
    687686         */
    688         ipc_answer_0(iid, EOK);
     687        async_answer_0(iid, EOK);
    689688       
    690689        while (true) {
  • uspace/srv/net/net/net.h

    r64d2b10 rffa2c8ef  
    3838#ifndef NET_NET_H_
    3939#define NET_NET_H_
    40 
    41 #include <ipc/ipc.h>
    4240
    4341#include <net/device.h>
  • uspace/srv/net/net/net_standalone.c

    r64d2b10 rffa2c8ef  
    4040#include <adt/measured_strings.h>
    4141#include <adt/module_map.h>
    42 #include <ipc/ipc.h>
    4342#include <ipc/net.h>
    4443#include <errno.h>
Note: See TracChangeset for help on using the changeset viewer.