aboutsummaryrefslogtreecommitdiff
path: root/lib/csum.c
AgeCommit message (Collapse)Author
2013-08-27packets: Introduce IPv6 headers not aligned on a 32-bit boundary.Ben Pfaff
This fixes the same problem for IPv6 headers treated for other headers in the previous commit. Signed-off-by: Ben Pfaff <blp@nicira.com>
2012-11-13datapath: add ipv6 'set' actionAnsis Atteka
This patch adds ipv6 set action functionality. It allows to change traffic class, flow label, hop-limit, ipv6 source and destination address fields. Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: Ansis Atteka <aatteka@nicira.com>
2012-05-02Global replace of Nicira Networks.Raju Subramanian
Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-05-16Make the source tree sparse clean.Ben Pfaff
With this commit, the tree compiles clean with sparse commit 87f4a7fda3d "Teach 'already_tokenized()' to use the stream name hash table" with patch "evaluate: Allow sizeof(_Bool) to succeed" available at http://permalink.gmane.org/gmane.comp.parsers.sparse/2461 applied, as long as the "include/sparse" directory is included for use by sparse (only), e.g.: make CC="CHECK='sparse -I../include/sparse' cgcc"
2011-05-16csum: Annotate byte order to match actual usage.Ben Pfaff
The IP checksum algorithm yields identical results regardless of whether arithmetic little-endian or big-endian, but in practice OVS only passes in big-endian data, so it seems reasonable to annotate these functions that way.
2010-11-16csum: Avoid misaligned data access.Ben Pfaff
This should fix a checksum test failure observed on Alpha in Debian's buildds.
2010-03-08csum: Fix rare error cases in checksum computation.Ben Pfaff
Occasionally the checksum test on "make check" would fail. This commit fixes the problem, which was that the partial checksum may need more than one reduction step to obtain a final checksum. Now running checksum tests in a continuous loop yields no failures.
2009-06-15Update primary code license to Apache 2.0.Ben Pfaff
2009-06-09Add unit test for TCP/IP checksumming code.Ben Pfaff
2009-07-08Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff