Changeset 975d528 in mainline for uspace/srv/net/tcp/tqueue.h


Ignore:
Timestamp:
2017-09-10T17:48:58Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e1b4ae0
Parents:
12dcd5f
Message:

Add unit tests for TCP tqueue. Fix tqueue possibly being finalized without freeing pending segments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/tqueue.h

    r12dcd5f r975d528  
    4040#include "tcp_type.h"
    4141
    42 extern int tcp_tqueue_init(tcp_tqueue_t *, tcp_conn_t *);
     42extern int tcp_tqueue_init(tcp_tqueue_t *, tcp_conn_t *,
     43    tcp_tqueue_cb_t *);
    4344extern void tcp_tqueue_clear(tcp_tqueue_t *);
    4445extern void tcp_tqueue_fini(tcp_tqueue_t *);
    4546extern void tcp_tqueue_ctrl_seg(tcp_conn_t *, tcp_control_t);
    46 extern void tcp_tqueue_seg(tcp_conn_t *, tcp_segment_t *);
    4747extern void tcp_tqueue_new_data(tcp_conn_t *);
    4848extern void tcp_tqueue_ack_received(tcp_conn_t *);
    49 extern void tcp_prepare_transmit_segment(tcp_conn_t *, tcp_segment_t *);
    50 extern void tcp_conn_transmit_segment(tcp_conn_t *, tcp_segment_t *);
    51 extern void tcp_transmit_segment(inet_ep2_t *, tcp_segment_t *);
    52 extern void tcp_header_setup(tcp_conn_t *, tcp_segment_t *, tcp_header_t *);
    53 extern void tcp_phdr_setup(tcp_conn_t *, tcp_segment_t *, tcp_phdr_t *);
    5449
    5550#endif
Note: See TracChangeset for help on using the changeset viewer.