Which of the following describes the Linux ping packet or datagram?
A.
IP packet with a packet type
B.
ICMP packet with a message type
C.
ICMP packet with a payload
D.
UDP datagram with a protocol type
E.
UDP datagram with a payload
Explanation/Reference:
From the man pages:
ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (“pings”) have an IP and ICMP header, followed by a struct timeval and then an arbitrary number of “pad” bytes used to fill out the packet.