Bug 751 - FCS for Ethernet
FCS for Ethernet
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: network
ns-3-dev
All All
: P4 minor
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-25 05:18 UTC by Florian Schmidt
Modified: 2009-12-02 19:29 UTC (History)
1 user (show)

See Also:


Attachments
patch to add FCS (3.65 KB, patch)
2009-11-25 05:19 UTC, Florian Schmidt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmidt 2009-11-25 05:18:43 UTC
This patch adds the creation and checking of Ethernet FCS to the EthernetTrailer class. The "meat" is taken from the crc32 calculation routine in the Linux kernel. Also, the flag whether to calculate a checksum was changed from static to non-static, which is in line with how that flag is handled in higher layer protocols, e.g., IP and UDP.
Comment 1 Florian Schmidt 2009-11-25 05:19:11 UTC
Created attachment 677 [details]
patch to add FCS
Comment 2 Craig Dowell 2009-12-02 19:29:14 UTC
Pushed changeset 3fda006341e6