Compare packet data in the form of C char arrays, as can be obtained from wireshark.