English subtitles

← Compare Packets cs348 unit5new

Get Embed Code
1 Language

Showing Revision 1 created 04/13/2013 by Cogi-Admin.

  1. In the final exercise of our packet data checker, I want you to implement the
  2. compare_packets method. As input parameters, we have the expected packet and
  3. the received packet. And I want you to compare that all the fields, or all the
  4. relevant fields, have the same values. Remember, we've discussed some
  5. predefined comparison methods earlier and maybe you can use one of those here.
  6. In addition, I want you to implement a check action, which should be called
  7. pktdatacheck to ensure that there are no differences between these two
  8. packets. If there are differences, please issue a DUT error with a string
  9. Mismatch in packet data checker.