Changeset 774e6d1a in mainline for uspace/srv/net/tl/tcp/tcp.c
- Timestamp:
- 2011-01-09T23:24:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b86dac
- Parents:
- 3c106e88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp.c
r3c106e88 r774e6d1a 1262 1262 int 1263 1263 tcp_message_standalone(ipc_callid_t callid, ipc_call_t *call, 1264 ipc_call_t *answer, int *answer_count)1264 ipc_call_t *answer, size_t *answer_count) 1265 1265 { 1266 1266 packet_t *packet; … … 1276 1276 // fibril_rwlock_read_lock(&tcp_globals.lock); 1277 1277 rc = packet_translate_remote(tcp_globals.net_phone, &packet, 1278 IPC_GET_PACKET( call));1278 IPC_GET_PACKET(*call)); 1279 1279 if (rc != EOK) { 1280 1280 // fibril_rwlock_read_unlock(&tcp_globals.lock); 1281 1281 return rc; 1282 1282 } 1283 rc = tcp_received_msg(IPC_GET_DEVICE( call), packet, SERVICE_TCP,1284 IPC_GET_ERROR( call));1283 rc = tcp_received_msg(IPC_GET_DEVICE(*call), packet, SERVICE_TCP, 1284 IPC_GET_ERROR(*call)); 1285 1285 // fibril_rwlock_read_unlock(&tcp_globals.lock); 1286 1286 return rc; … … 1323 1323 bool keep_on_going = true; 1324 1324 socket_cores_t local_sockets; 1325 int app_phone = IPC_GET_PHONE( &call);1325 int app_phone = IPC_GET_PHONE(call); 1326 1326 struct sockaddr *addr; 1327 1327 int socket_id; … … 1330 1330 fibril_rwlock_t lock; 1331 1331 ipc_call_t answer; 1332 int answer_count;1332 size_t answer_count; 1333 1333 tcp_socket_data_t *socket_data; 1334 1334 socket_core_t *socket; … … 2502 2502 while (true) { 2503 2503 ipc_call_t answer; 2504 int answer_count;2504 size_t answer_count; 2505 2505 2506 2506 /* Clear the answer structure */
Note:
See TracChangeset
for help on using the changeset viewer.