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