Question: Update the _ _ validateIcmpReplyPacketWithOriginalPingData ( ) function: Confirm the following items received are the same as what was sent: sequence number packet identifier raw

Update the __validateIcmpReplyPacketWithOriginalPingData() function:
Confirm the following items received are the same as what was sent:
sequence number packet identifier raw data
Set the valid data variable in the IcmpPacket_EchoReply class based on the outcome of the data comparison. Create variables within the IcmpPacket_EchoReply class that identify whether each value that can be obtained from the class is valid. For example, the IcmpPacket_EchoReply class has an IcmpIdentifier. Create a variable, such as IcmpIdentifier_isValid, along with a getter function, such as getIcmpIdentifier_isValid(), and a setting function, such as setIcmpIdentifier_isValid(), so you can easily track and identify which data points within the echo reply are valid. Note: There are similar examples within the current skeleton code. Create debug messages that show the expected and the actual values along with the comparison result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!