summaryrefslogtreecommitdiff
path: root/dev/etherdump.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-10-01 19:48:33 -0400
committerNathan Binkert <binkertn@umich.edu>2004-10-01 19:48:33 -0400
commiteaf66f46588cdfd8a91b93821406e1d797c6d1fb (patch)
treeb2e418935f2730c5977600e414cecaf03a832faa /dev/etherdump.hh
parent72276af49f1113649e97074b5b492ad7b5e25837 (diff)
downloadgem5-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 'dev/etherdump.hh')
0 files changed, 0 insertions, 0 deletions