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