Changeset 774e6d1a in mainline for uspace/srv/net/tl/udp
- Timestamp:
- 2011-01-09T23:24:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b86dac
- Parents:
- 3c106e88
- Location:
- uspace/srv/net/tl/udp
- Files:
-
- 3 edited
-
udp.c (modified) (5 diffs)
-
udp_module.c (modified) (1 diff)
-
udp_module.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
r3c106e88 r774e6d1a 707 707 bool keep_on_going = true; 708 708 socket_cores_t local_sockets; 709 int app_phone = IPC_GET_PHONE( &call);709 int app_phone = IPC_GET_PHONE(call); 710 710 struct sockaddr *addr; 711 711 int socket_id; … … 713 713 size_t size; 714 714 ipc_call_t answer; 715 int answer_count;715 size_t answer_count; 716 716 packet_dimension_t *packet_dimension; 717 717 … … 861 861 */ 862 862 int udp_message_standalone(ipc_callid_t callid, ipc_call_t *call, 863 ipc_call_t *answer, int *answer_count)863 ipc_call_t *answer, size_t *answer_count) 864 864 { 865 865 packet_t *packet; … … 871 871 case NET_TL_RECEIVED: 872 872 rc = packet_translate_remote(udp_globals.net_phone, &packet, 873 IPC_GET_PACKET( call));873 IPC_GET_PACKET(*call)); 874 874 if (rc != EOK) 875 875 return rc; 876 return udp_received_msg(IPC_GET_DEVICE( call), packet,877 SERVICE_UDP, IPC_GET_ERROR( call));876 return udp_received_msg(IPC_GET_DEVICE(*call), packet, 877 SERVICE_UDP, IPC_GET_ERROR(*call)); 878 878 case IPC_M_CONNECT_TO_ME: 879 return udp_process_client_messages(callid, * call);879 return udp_process_client_messages(callid, *call); 880 880 } 881 881 … … 898 898 while (true) { 899 899 ipc_call_t answer; 900 int answer_count;900 size_t answer_count; 901 901 902 902 /* Clear the answer structure */ -
uspace/srv/net/tl/udp/udp_module.c
r3c106e88 r774e6d1a 87 87 88 88 int tl_module_message_standalone(ipc_callid_t callid, ipc_call_t *call, 89 ipc_call_t *answer, int *answer_count)89 ipc_call_t *answer, size_t *count) 90 90 { 91 return udp_message_standalone(callid, call, answer, answer_count);91 return udp_message_standalone(callid, call, answer, count); 92 92 } 93 93 -
uspace/srv/net/tl/udp/udp_module.h
r3c106e88 r774e6d1a 44 44 extern int udp_initialize(async_client_conn_t); 45 45 extern int udp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *, 46 int *);46 size_t *); 47 47 48 48 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
