iPXE
|
ICMP ping protocol. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | ping_rx (struct io_buffer *iobuf, struct sockaddr_tcpip *st_src) |
Process ICMP ping reply. More... | |
ICMP ping protocol.
Definition in file ping.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int ping_rx | ( | struct io_buffer * | iobuf, |
struct sockaddr_tcpip * | st_src | ||
) |
Process ICMP ping reply.
iobuf | I/O buffer |
st_src | Source address |
rc | Return status code |
Definition at line 103 of file ping.c.
References assert(), io_buffer::data, DBGC, echo(), ENOTCONN, free_iob(), iob_disown, iob_len(), iob_pull, memset(), meta(), ntohs, ping(), ping_demux(), rc, xfer_deliver(), and XFER_FL_ABS_OFFSET.