Changes in uspace/srv/net/tl/tcp/tcp.c [014dd57b:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp.c
r014dd57b rffa2c8ef 44 44 #include <errno.h> 45 45 46 #include <ipc/ipc.h>47 46 #include <ipc/services.h> 48 47 #include <ipc/net.h> … … 64 63 #include <ip_interface.h> 65 64 #include <icmp_client.h> 66 #include <icmp_ interface.h>65 #include <icmp_remote.h> 67 66 #include <net_interface.h> 68 67 #include <socket_core.h> … … 1204 1203 } 1205 1204 1205 /** Per-connection initialization 1206 * 1207 */ 1208 void tl_connection(void) 1209 { 1210 } 1211 1206 1212 /** Processes the TCP message. 1207 1213 * … … 1217 1223 * @see IS_NET_TCP_MESSAGE() 1218 1224 */ 1219 int tl_m odule_message(ipc_callid_t callid, ipc_call_t *call,1225 int tl_message(ipc_callid_t callid, ipc_call_t *call, 1220 1226 ipc_call_t *answer, size_t *answer_count) 1221 1227 { … … 1499 1505 1500 1506 /* Release the application phone */ 1501 ipc_hangup(app_phone);1507 async_hangup(app_phone); 1502 1508 1503 1509 printf("release\n"); … … 2447 2453 SERVICE_TCP, IPC_GET_ERROR(*icall)); 2448 2454 2449 ipc_answer_0(iid, (sysarg_t) rc);2455 async_answer_0(iid, (sysarg_t) rc); 2450 2456 break; 2451 2457 default: 2452 ipc_answer_0(iid, (sysarg_t) ENOTSUP);2458 async_answer_0(iid, (sysarg_t) ENOTSUP); 2453 2459 } 2454 2460 … … 2472 2478 tcp_globals.net_phone = net_phone; 2473 2479 2474 tcp_globals.icmp_phone = icmp_connect_module(SERVICE_ICMP, 2475 ICMP_CONNECT_TIMEOUT); 2480 tcp_globals.icmp_phone = icmp_connect_module(ICMP_CONNECT_TIMEOUT); 2476 2481 tcp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_TCP, 2477 2482 SERVICE_TCP, tcp_receiver);
Note:
See TracChangeset
for help on using the changeset viewer.