This patch series improves ip checksum logic. Isaku Yamahata (9): ryu/tests/unit/ofproto/test_parser_v10.py: make test pass test_icmpv6: correct icmpv6 checksum tests/unit/packet/test_tcp.py: typo UDP -> TCP lib/packet/packet_utils: improve checksum padding lib/packet/packet_utils: improve checksum byteswap lib/packet: checksum function with pseudo ipv4/ipv6 header lib/packet/icmpv6: use checksum_ip() lib/packet/udp: use checksum_ip() lib/packet/tcp: use checksum_ip()
ryu/lib/packet/icmp.py | 6 +-- ryu/lib/packet/icmpv6.py | 13 +----- ryu/lib/packet/ipv4.py | 4 +- ryu/lib/packet/packet_utils.py | 68 ++++++++++++++++++++++++++++- ryu/lib/packet/tcp.py | 13 +----- ryu/lib/packet/udp.py | 11 ++--- ryu/tests/unit/ofproto/test_parser_v10.py | 2 +- ryu/tests/unit/packet/test_icmpv6.py | 7 ++- ryu/tests/unit/packet/test_tcp.py | 4 +- 9 files changed, 84 insertions(+), 44 deletions(-) -- 1.7.10.4 ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
