licensing and lib/tool/checksum.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HIPL |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
For unified MIT-based code licensing, lib/tool/checksum.c has to be rewritten. This is my suggestion on how to proceed with rewriting this piece of code, feel free to comment.
ipv4_checksum() and ipv6_checksum() can be replaced with the following BSD-licensed code:
http://
http://
We need to include some header definitions and align the code with our code conventions as described in doc/HACKING. The FreeBSD code can be retrieved e.g. as follows:
svn co http://
I believe we can keep checksum_ip() which is from RFC 1071 section 4.1.
hip_checksum_
Related branches
- Diego Biurrun: Pending requested
-
Diff: 185 lines (+62/-17)8 files modifiedMakefile.am (+2/-2)
hipfw/reinject.c (+1/-1)
hipfw/rewrite.c (+1/-1)
hipfw/user_ipsec_esp.c (+1/-1)
libcore/builder.c (+1/-1)
libcore/checksum.c (+53/-8)
libhipl/output.c (+1/-1)
test/libcore/checksum.c (+2/-2)
Changed in hipl: | |
status: | Confirmed → Fix Committed |
When rewriting the code, make sure to resolve bug #682745 (https:/ /bugs.launchpad .net/hipl/ +bug/682745) as well.