Changeset 5f9ecd3 in mainline
- Timestamp:
- 2011-12-05T22:46:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ac2158
- Parents:
- 453f9e33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/pdu.c
r453f9e33 r5f9ecd3 113 113 { 114 114 uint16_t doff_flags; 115 uint16_t doff; 115 116 116 117 hdr->src_port = host2uint16_t_be(sp->local.port); … … 118 119 hdr->seq = host2uint32_t_be(seg->seq); 119 120 hdr->ack = host2uint32_t_be(seg->ack); 120 tcp_header_encode_flags(seg->ctrl, 0, &doff_flags); 121 122 doff = (sizeof(tcp_header_t) / sizeof(uint32_t)) << DF_DATA_OFFSET_l; 123 tcp_header_encode_flags(seg->ctrl, doff, &doff_flags); 124 121 125 hdr->doff_flags = host2uint16_t_be(doff_flags); 122 126 hdr->window = host2uint16_t_be(seg->wnd);
Note:
See TracChangeset
for help on using the changeset viewer.