diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-10-01 19:48:33 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-10-01 19:48:33 -0400 |
commit | eaf66f46588cdfd8a91b93821406e1d797c6d1fb (patch) | |
tree | b2e418935f2730c5977600e414cecaf03a832faa /sim/async.hh | |
parent | 72276af49f1113649e97074b5b492ad7b5e25837 (diff) | |
download | gem5-eaf66f46588cdfd8a91b93821406e1d797c6d1fb.tar.xz |
fix some bugs in the headers and fix checksumming.
base/inet.cc:
we can't use a uint16_t for the intermediate checksum values
since there may be some bits that carry.
the length that is added in the pseudo header is the length of
the tcp portion only.
base/inet.hh:
silly me, the ip_hlen field is in terms of 4-byte words.
when caclulating checksum, we're dealing with network byte order,
so don't bother doing any byteswapping.
--HG--
extra : convert_revision : 993e3413e9febea0ba2fb6ba8bf04c053cca15ed
Diffstat (limited to 'sim/async.hh')
0 files changed, 0 insertions, 0 deletions