|author||Charles Chan <email@example.com>||Thu Apr 13 17:43:52 2017 -0700|
|committer||Jonathan Hart <firstname.lastname@example.org>||Fri Apr 14 22:52:59 2017 +0000|
Support IP deserialization when PACKET_IN carries Ethernet FCS Some switches carry Ethernet FCS in the PACKET_IN. In that case, Ethernet FCS should not be treated as IP payload. payload length: the length specified in IP header remaining length: the actual remaining bytes payload < remaining: padding or Ethernet FCS exists, use payload length payload = remaining: usual case, use either one payload > remaining: fragmented packets, use remaining length In addition, - Fix unit test. TotalLen should never be smaller than headerLen * 4 - Refactoring unit tests Change-Id: I5d4736ad89ea2ab4ac3bd0cfaeb91da5d974db64
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.