|
Bugzilla – Full Text Bug Listing |
| Summary: | improve crc performance for CsmaNetDevice in emulation mode | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | csma | Assignee: | Tom Henderson <tomh> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | piotr.jerzy.jurkiewicz |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | copyright added for CRC table code | ||
|
Description
Tom Henderson
2013-10-20 09:34:47 UTC
I would like to find the correct attribution/copyright for this table code as I suspect it has been copied from somewhere. Does it derive from BSD? http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/libkern/crc32.c Or was it computed from something like this? http://www.ross.net/crc/download/crc_v3.txt other similar code: http://git.lpclinux.com/cgit/apex-1.6.8-lpc313x/tree/src/mach-lpc313x/drv-crc32.c I came across this table in many sources. As I remember, I cut out this table from Stephan Brumme's examples, whose site I referenced above. http://create.stephan-brumme.com/crc32/Crc32.cpp This is the first sub-table of Crc32Lookup table (line 197). Created attachment 1693 [details]
copyright added for CRC table code
This patch adds the following comment to crc32.cc, preceding the table:
+/*
+ * Note: CRC tables such as below are found in many projects;
+ * below is the oldest reference (and copyright) to original work
+ * of this nature that we could find.
+ *
+ * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
+ * code or tables extracted from it, as desired without restriction.
+ */
pushed in changeset 10431:023c52cf0c2c |