mirror of
https://github.com/xcat2/xNBA.git
synced 2026-03-22 22:49:18 +00:00
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
26 lines
363 B
C
26 lines
363 B
C
#ifndef _IPXE_ICMP_H
|
|
#define _IPXE_ICMP_H
|
|
|
|
/** @file
|
|
*
|
|
* ICMP protocol
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
/** An ICMP header */
|
|
struct icmp_header {
|
|
/** Type */
|
|
uint8_t type;
|
|
/** Code */
|
|
uint8_t code;
|
|
/** Checksum */
|
|
uint16_t chksum;
|
|
} __attribute__ (( packed ));
|
|
|
|
#define ICMP_ECHO_RESPONSE 0
|
|
#define ICMP_ECHO_REQUEST 8
|
|
|
|
#endif /* _IPXE_ICMP_H */
|