Changeset 3819ce5 in mainline for uspace/srv/net/tl/tcp/segment.c
- Timestamp:
- 2011-12-25T10:05:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ecf823a
- Parents:
- 1440eae (diff), 7e1b130 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/segment.c
r1440eae r3819ce5 119 119 return NULL; 120 120 121 rseg->ctrl = CTL_RST; 122 rseg->seq = seg->ack; 121 if ((seg->ctrl & CTL_ACK) == 0) { 122 rseg->ctrl = CTL_RST | CTL_ACK; 123 rseg->seq = 0; 124 rseg->ack = seg->seq + seg->len; 125 } else { 126 rseg->ctrl = CTL_RST; 127 rseg->seq = seg->ack; 128 } 123 129 124 130 return rseg;
Note:
See TracChangeset
for help on using the changeset viewer.