Changes in uspace/srv/net/tl/udp/udp.c [ffa2c8ef:014dd57b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
rffa2c8ef r014dd57b 40 40 #include <malloc.h> 41 41 #include <stdio.h> 42 #include <ipc/ipc.h> 42 43 #include <ipc/services.h> 43 44 #include <ipc/net.h> … … 60 61 #include <ip_interface.h> 61 62 #include <icmp_client.h> 62 #include <icmp_ remote.h>63 #include <icmp_interface.h> 63 64 #include <net_interface.h> 64 65 #include <socket_core.h> … … 353 354 SERVICE_UDP, IPC_GET_ERROR(*icall)); 354 355 355 async_answer_0(iid, (sysarg_t) rc);356 ipc_answer_0(iid, (sysarg_t) rc); 356 357 break; 357 358 default: 358 async_answer_0(iid, (sysarg_t) ENOTSUP);359 ipc_answer_0(iid, (sysarg_t) ENOTSUP); 359 360 } 360 361 … … 392 393 udp_globals.net_phone = net_phone; 393 394 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); 395 397 396 398 udp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_UDP, … … 867 869 868 870 /* Release the application phone */ 869 async_hangup(app_phone);871 ipc_hangup(app_phone); 870 872 871 873 /* Release all local sockets */ … … 874 876 875 877 return res; 876 }877 878 /** Per-connection initialization879 *880 */881 void tl_connection(void)882 {883 878 } 884 879 … … 896 891 * @see IS_NET_UDP_MESSAGE() 897 892 */ 898 int tl_m essage(ipc_callid_t callid, ipc_call_t *call,893 int tl_module_message(ipc_callid_t callid, ipc_call_t *call, 899 894 ipc_call_t *answer, size_t *answer_count) 900 895 {
Note:
See TracChangeset
for help on using the changeset viewer.