Changeset 7fda2e0 in mainline
- Timestamp:
- 2012-04-16T07:11:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69a93df7
- Parents:
- 7f95c904
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/inet/pdu.c
r7f95c904 r7fda2e0 141 141 /* Amount of space in the PDU available for payload */ 142 142 spc_avail = mtu - hdr_size; 143 spc_avail -= (spc_avail % FRAG_OFFS_UNIT); 143 144 144 145 /* Amount of data (payload) to transfer */ 145 146 xfer_size = min(packet->size - offs, spc_avail); 146 xfer_size -= (xfer_size % FRAG_OFFS_UNIT);147 147 148 148 /* Total PDU size */
Note:
See TracChangeset
for help on using the changeset viewer.