55 #define ICMP_ECHO_PROTOCOLS \ 56 __table ( struct icmp_echo_protocol, "icmp_echo_protocols" ) 59 #define __icmp_echo_protocol __table_entry ( ICMP_ECHO_PROTOCOLS, 01 ) 61 #define ICMP_ECHO_REPLY 0 62 #define ICMP_ECHO_REQUEST 8
int net_checksum
Include network-layer checksum within packet.
An ICMP echo request/reply.
int icmp_tx_echo_request(struct io_buffer *iobuf, struct sockaddr_tcpip *st_dest)
Transmit ICMP echo request.
uint16_t ident
Identifier.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int icmp_rx_echo_reply(struct io_buffer *iobuf, struct sockaddr_tcpip *st_src)
Process a received ICMP echo request.
uint16_t sa_family_t
A socket address family.
Transport-network layer interface.
struct tcpip_protocol * tcpip_protocol
TCP/IP protocol.
uint8_t request
Request type.
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.
A transport-layer protocol of the TCP/IP stack (eg.
sa_family_t family
Address family.
struct icmp_header icmp
ICMPv6 header.
uint16_t sequence
Sequence number.