Changeset 0093ab6 in mainline for uspace/srv/net/tl/tcp/header.c


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/header.c

    r4c55a64 r0093ab6  
    6161
    6262        /* XXX This will only work as long as we don't have any header options */
    63         phdr->tcp_length = sizeof(tcp_header_t) + tcp_segment_data_len(seg);
     63        phdr->tcp_length = sizeof(tcp_header_t) + tcp_segment_text_size(seg);
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.