Ignore:
File:
1 edited

Legend:

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

    r014dd57b rffa2c8ef  
    4040#include <malloc.h>
    4141#include <stdio.h>
    42 #include <ipc/ipc.h>
    4342#include <ipc/services.h>
    4443#include <ipc/net.h>
     
    6160#include <ip_interface.h>
    6261#include <icmp_client.h>
    63 #include <icmp_interface.h>
     62#include <icmp_remote.h>
    6463#include <net_interface.h>
    6564#include <socket_core.h>
     
    354353                                    SERVICE_UDP, IPC_GET_ERROR(*icall));
    355354                       
    356                         ipc_answer_0(iid, (sysarg_t) rc);
     355                        async_answer_0(iid, (sysarg_t) rc);
    357356                        break;
    358357                default:
    359                         ipc_answer_0(iid, (sysarg_t) ENOTSUP);
     358                        async_answer_0(iid, (sysarg_t) ENOTSUP);
    360359                }
    361360               
     
    393392        udp_globals.net_phone = net_phone;
    394393       
    395         udp_globals.icmp_phone = icmp_connect_module(SERVICE_ICMP,
    396             ICMP_CONNECT_TIMEOUT);
     394        udp_globals.icmp_phone = icmp_connect_module(ICMP_CONNECT_TIMEOUT);
    397395       
    398396        udp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_UDP,
     
    869867
    870868        /* Release the application phone */
    871         ipc_hangup(app_phone);
     869        async_hangup(app_phone);
    872870
    873871        /* Release all local sockets */
     
    876874
    877875        return res;
     876}
     877
     878/** Per-connection initialization
     879 *
     880 */
     881void tl_connection(void)
     882{
    878883}
    879884
     
    891896 * @see IS_NET_UDP_MESSAGE()
    892897 */
    893 int tl_module_message(ipc_callid_t callid, ipc_call_t *call,
     898int tl_message(ipc_callid_t callid, ipc_call_t *call,
    894899    ipc_call_t *answer, size_t *answer_count)
    895900{
Note: See TracChangeset for help on using the changeset viewer.