56#define ICMP_ECHO_PROTOCOLS \
57 __table ( struct icmp_echo_protocol, "icmp_echo_protocols" )
60#define __icmp_echo_protocol __table_entry ( ICMP_ECHO_PROTOCOLS, 01 )
62#define ICMP_ECHO_REPLY 0
63#define ICMP_ECHO_REQUEST 8
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int icmp_tx_echo_request(struct io_buffer *iobuf, struct sockaddr_tcpip *st_dest)
Transmit ICMP echo request.
int icmp_rx_echo_request(struct io_buffer *iobuf, struct sockaddr_tcpip *st_src, struct icmp_echo_protocol *echo_protocol)
Process a received ICMP echo request.
int icmp_rx_echo_reply(struct io_buffer *iobuf, struct sockaddr_tcpip *st_src)
Process a received ICMP echo request.
Transport-network layer interface.
uint16_t sa_family_t
A socket address family.
int net_checksum
Include network-layer checksum within packet.
sa_family_t family
Address family.
struct tcpip_protocol * tcpip_protocol
TCP/IP protocol.
uint8_t request
Request type.
An ICMP echo request/reply.
uint16_t ident
Identifier.
struct icmp_header icmp
ICMPv6 header.
uint16_t sequence
Sequence number.