linux中ping的参数pipe和ipg⼀ewma是什么意思,代表什么?

2025-05-07 19:50:47
推荐回答(1个)
回答1:

DESCRIPTION 描述
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.

DESCRIPTION
pipe() creates a pipe, a unidirectional data channel that can be used for inter‐
process communication. The array pipefd is used to return two file descriptors
referring to the ends of the pipe. pipefd[0] refers to the read end of the pipe.
pipefd[1] refers to the write end of the pipe. Data written to the write end of
the pipe is buffered by the kernel until it is read from the read end of the pipe.