Changeset 5a868d7 in mainline
- Timestamp:
- 2010-10-11T18:30:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 401b6ad
- Parents:
- eb51e31
- Location:
- uspace
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/ip_remote.c
reb51e31 r5a868d7 72 72 73 73 int ip_bind_service(services_t service, int protocol, services_t me, 74 async_client_conn_t receiver , tl_received_msg_t tl_received_msg)74 async_client_conn_t receiver) 75 75 { 76 76 return (int) bind_service(service, (ipcarg_t) protocol, me, service, -
uspace/lib/net/include/ip_interface.h
reb51e31 r5a868d7 74 74 * @param[in] me The requesting module service. 75 75 * @param[in] receiver The message receiver. Used for remote connection. 76 * @param[in] tl_received_msg The message processing function. Used if bundled together.77 76 * @returns The phone of the needed service. 78 77 * @returns EOK on success. 79 78 * @returns Other error codes as defined for the bind_service() function. 80 79 */ 81 extern int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver , tl_received_msg_t tl_received_msg);80 extern int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver); 82 81 83 82 /** Connects to the IP module. -
uspace/srv/net/tl/icmp/icmp.c
reb51e31 r5a868d7 485 485 icmp_replies_initialize(&icmp_globals.replies); 486 486 icmp_echo_data_initialize(&icmp_globals.echo_data); 487 icmp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_ICMP, SERVICE_ICMP, client_connection , icmp_received_msg);487 icmp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_ICMP, SERVICE_ICMP, client_connection); 488 488 if(icmp_globals.ip_phone < 0){ 489 489 return icmp_globals.ip_phone; -
uspace/srv/net/tl/tcp/tcp.c
reb51e31 r5a868d7 260 260 ICMP_CONNECT_TIMEOUT); 261 261 tcp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_TCP, 262 SERVICE_TCP, client_connection , tcp_received_msg);262 SERVICE_TCP, client_connection); 263 263 if (tcp_globals.ip_phone < 0) 264 264 return tcp_globals.ip_phone; -
uspace/srv/net/tl/udp/udp.c
reb51e31 r5a868d7 241 241 ICMP_CONNECT_TIMEOUT); 242 242 udp_globals.ip_phone = ip_bind_service(SERVICE_IP, IPPROTO_UDP, 243 SERVICE_UDP, client_connection , udp_received_msg);243 SERVICE_UDP, client_connection); 244 244 if (udp_globals.ip_phone < 0) 245 245 return udp_globals.ip_phone;
Note:
See TracChangeset
for help on using the changeset viewer.