Changeset 8218b6b in mainline
- Timestamp:
- 2011-10-26T18:01:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7cf7ded
- Parents:
- 2a3214e
- Location:
- uspace/srv/net/tl/tcp
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/Makefile
r2a3214e r8218b6b 36 36 header.c \ 37 37 iqueue.c \ 38 ncsim.c \ 38 39 rqueue.c \ 39 40 segment.c \ -
uspace/srv/net/tl/tcp/conn.c
r2a3214e r8218b6b 49 49 #include "tqueue.h" 50 50 51 #define RCV_BUF_SIZE 409651 #define RCV_BUF_SIZE 2/*4096*/ 52 52 #define SND_BUF_SIZE 4096 53 53 -
uspace/srv/net/tl/tcp/rqueue.c
r2a3214e r8218b6b 120 120 rc = thread_create(tcp_rqueue_thread, NULL, "rqueue", &tid); 121 121 if (rc != EOK) { 122 log_msg(LVL_ERROR, "Fail decreating rqueue thread.");122 log_msg(LVL_ERROR, "Failed creating rqueue thread."); 123 123 return; 124 124 } -
uspace/srv/net/tl/tcp/tcp.c
r2a3214e r8218b6b 41 41 #include <task.h> 42 42 43 #include "ncsim.h" 43 44 #include "rqueue.h" 44 45 #include "test.h" … … 64 65 tcp_rqueue_thread_start(); 65 66 67 tcp_ncsim_init(); 68 tcp_ncsim_thread_start(); 69 66 70 tcp_test(); 67 71 -
uspace/srv/net/tl/tcp/tcp_type.h
r2a3214e r8218b6b 208 208 } tcp_rqueue_entry_t; 209 209 210 /** NCSim queue entry */ 211 typedef struct { 212 link_t link; 213 suseconds_t delay; 214 tcp_sockpair_t sp; 215 tcp_segment_t *seg; 216 } tcp_squeue_entry_t; 217 210 218 typedef struct { 211 219 link_t link; -
uspace/srv/net/tl/tcp/tqueue.c
r2a3214e r8218b6b 43 43 #include "conn.h" 44 44 #include "header.h" 45 #include "ncsim.h" 45 46 #include "rqueue.h" 46 47 #include "segment.h" … … 219 220 tcp_pdu_transmit(data, len); 220 221 */ 221 tcp_rqueue_bounce_seg(sp, seg); 222 //tcp_rqueue_bounce_seg(sp, seg); 223 tcp_ncsim_bounce_seg(sp, seg); 222 224 } 223 225
Note:
See TracChangeset
for help on using the changeset viewer.