Changeset 0093ab6 in mainline for uspace/srv/net/tl/tcp/segment.h


Ignore:
Timestamp:
2011-09-21T19:56:41Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
032bbe7
Parents:
4c55a64
Message:

Parts of data reception. Trimming segment to receive window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/segment.h

    r4c55a64 r0093ab6  
    3636#define SEGMENT_H
    3737
     38#include <sys/types.h>
    3839#include "tcp_type.h"
    3940
     
    4243extern tcp_segment_t *tcp_segment_make_ctrl(tcp_control_t);
    4344extern tcp_segment_t *tcp_segment_make_rst(tcp_segment_t *);
    44 extern size_t tcp_segment_data_len(tcp_segment_t *);
     45extern void tcp_segment_trim(tcp_segment_t *, uint32_t, uint32_t);
     46extern void tcp_segment_text_copy(tcp_segment_t *, void *, size_t);
     47extern size_t tcp_segment_text_size(tcp_segment_t *);
    4548
    4649
Note: See TracChangeset for help on using the changeset viewer.