Changes in uspace/srv/net/tcp/tcp_type.h [69a93df7:d786dea9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/tcp_type.h
r69a93df7 rd786dea9 39 39 #include <async.h> 40 40 #include <bool.h> 41 #include <fibril.h> 41 42 #include <fibril_synch.h> 42 43 #include <socket_core.h> … … 331 332 } tcp_client_t; 332 333 334 #define TCP_SOCK_FRAGMENT_SIZE 1024 335 333 336 typedef struct tcp_sockdata { 334 337 /** Lock */ … … 348 351 /** List of connections (from lconn) that are ready to be accepted */ 349 352 list_t ready; 353 /** Receiving fibril */ 354 fid_t recv_fibril; 355 uint8_t recv_buffer[TCP_SOCK_FRAGMENT_SIZE]; 356 size_t recv_buffer_used; 357 fibril_mutex_t recv_buffer_lock; 358 fibril_condvar_t recv_buffer_cv; 359 tcp_error_t recv_error; 350 360 } tcp_sockdata_t; 351 361
Note:
See TracChangeset
for help on using the changeset viewer.