Fix tests to pass on newer versions of scapy.

1. New versions of scapy no longer use the "unused" field to
   indicate the MTU in an IPv4 fragmentation needed packet,
   correctly calling it "nexthopmtu" instead. Add code to
   support both old and new versions.
2. Replace "load" with "payload" in the null encryption code.

Bug: 36510518
Test: IPv4 PMTU tests pass on device
Test: null encryption xfrm tests pass on device
Test: all_tests.sh pass on android-4.9
Change-Id: Id414080d06ac9ffa66aa5053f6dcc5e5869060a9
3 files changed
tree: 2ce916ebd2e8e4f2d382e51f83677c6e4ccda0ad
  1. net/
  2. Android.bp