Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r014dd57b  
    4040#include <malloc.h>
    4141#include <stdio.h>
     42#include <ipc/ipc.h>
    4243#include <ipc/services.h>
    4344#include <ipc/net.h>
     
    6061#include <ip_interface.h>
    6162#include <icmp_client.h>
    62 #include <icmp_remote.h>
     63#include <icmp_interface.h>
    6364#include <net_interface.h>
    6465#include <socket_core.h>
     
    353354                                    SERVICE_UDP, IPC_GET_ERROR(*icall));
    354355                       
    355                         async_answer_0(iid, (sysarg_t) rc);
     356                        ipc_answer_0(iid, (sysarg_t) rc);
    356357                        break;
    357358                default:
    358                         async_answer_0(iid, (sysarg_t) ENOTSUP);
     359                        ipc_answer_0(iid, (sysarg_t) ENOTSUP);
    359360                }
    360361               
     
    392393        udp_globals.net_phone = net_phone;
    393394       
    394         udp_globals.icmp_phone = icmp_connect_module(ICMP_CONNECT_TIMEOUT);
     395        udp_globals.icmp_phone = icmp_connect_module(SERVICE_ICMP,
     396            ICMP_CONNECT_TIMEOUT);
    395397       
    396398        udp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_UDP,
     
    867869
    868870        /* Release the application phone */
    869         async_hangup(app_phone);
     871        ipc_hangup(app_phone);
    870872
    871873        /* Release all local sockets */
     
    874876
    875877        return res;
    876 }
    877 
    878 /** Per-connection initialization
    879  *
    880  */
    881 void tl_connection(void)
    882 {
    883878}
    884879
     
    896891 * @see IS_NET_UDP_MESSAGE()
    897892 */
    898 int tl_message(ipc_callid_t callid, ipc_call_t *call,
     893int tl_module_message(ipc_callid_t callid, ipc_call_t *call,
    899894    ipc_call_t *answer, size_t *answer_count)
    900895{
Note: See TracChangeset for help on using the changeset viewer.