Changeset aaa3f33a in mainline for uspace/srv/net/tl/tcp/tcp.c
- Timestamp:
- 2010-11-19T21:26:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a7811f17, cc3c2a1c
- Parents:
- 4eca056
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp.c
r4eca056 raaa3f33a 139 139 140 140 /** Local sockets. */ 141 socket_cores_ reflocal_sockets;141 socket_cores_t *local_sockets; 142 142 143 143 /** Socket identifier. */ … … 172 172 173 173 static int tcp_process_packet(device_id_t, packet_t, services_t); 174 static int tcp_connect_core(socket_core_t *, socket_cores_ ref,174 static int tcp_connect_core(socket_core_t *, socket_cores_t *, 175 175 struct sockaddr *, socklen_t); 176 176 static int tcp_queue_prepare_packet(socket_core_t *, tcp_socket_data_t *, … … 209 209 static int tcp_process_client_messages(ipc_callid_t, ipc_call_t); 210 210 211 static int tcp_listen_message(socket_cores_ ref, int, int);212 static int tcp_connect_message(socket_cores_ ref, int, struct sockaddr *,211 static int tcp_listen_message(socket_cores_t *, int, int); 212 static int tcp_connect_message(socket_cores_t *, int, struct sockaddr *, 213 213 socklen_t); 214 static int tcp_recvfrom_message(socket_cores_ ref, int, int, size_t *);215 static int tcp_send_message(socket_cores_ ref, int, int, size_t *, int);216 static int tcp_accept_message(socket_cores_ ref, int, int, size_t *, size_t *);217 static int tcp_close_message(socket_cores_ ref, int);214 static int tcp_recvfrom_message(socket_cores_t *, int, int, size_t *); 215 static int tcp_send_message(socket_cores_t *, int, int, size_t *, int); 216 static int tcp_accept_message(socket_cores_t *, int, int, size_t *, size_t *); 217 static int tcp_close_message(socket_cores_t *, int); 218 218 219 219 /** TCP global data. */ … … 1678 1678 } 1679 1679 1680 int tcp_listen_message(socket_cores_ reflocal_sockets, int socket_id,1680 int tcp_listen_message(socket_cores_t *local_sockets, int socket_id, 1681 1681 int backlog) 1682 1682 { … … 1704 1704 } 1705 1705 1706 int tcp_connect_message(socket_cores_ reflocal_sockets, int socket_id,1706 int tcp_connect_message(socket_cores_t *local_sockets, int socket_id, 1707 1707 struct sockaddr *addr, socklen_t addrlen) 1708 1708 { … … 1732 1732 } 1733 1733 1734 int tcp_connect_core(socket_core_t *socket, socket_cores_ reflocal_sockets,1734 int tcp_connect_core(socket_core_t *socket, socket_cores_t *local_sockets, 1735 1735 struct sockaddr *addr, socklen_t addrlen) 1736 1736 { … … 2091 2091 } 2092 2092 2093 int tcp_recvfrom_message(socket_cores_ reflocal_sockets, int socket_id,2093 int tcp_recvfrom_message(socket_cores_t *local_sockets, int socket_id, 2094 2094 int flags, size_t *addrlen) 2095 2095 { … … 2149 2149 } 2150 2150 2151 int tcp_send_message(socket_cores_ reflocal_sockets, int socket_id,2151 int tcp_send_message(socket_cores_t *local_sockets, int socket_id, 2152 2152 int fragments, size_t *data_fragment_size, int flags) 2153 2153 { … … 2225 2225 2226 2226 int 2227 tcp_close_message(socket_cores_ reflocal_sockets, int socket_id)2227 tcp_close_message(socket_cores_t *local_sockets, int socket_id) 2228 2228 { 2229 2229 socket_core_t *socket; … … 2327 2327 } 2328 2328 2329 int tcp_accept_message(socket_cores_ reflocal_sockets, int socket_id,2329 int tcp_accept_message(socket_cores_t *local_sockets, int socket_id, 2330 2330 int new_socket_id, size_t *data_fragment_size, size_t *addrlen) 2331 2331 {
Note:
See TracChangeset
for help on using the changeset viewer.