MCPcopy
hub / github.com/golang/net / Echo

Struct Echo

icmp/echo.go:16–20  ·  view source on GitHub ↗

An Echo represents an ICMP echo request or reply message body.

Source from the content-addressed store, hash-verified

14
15// An Echo represents an ICMP echo request or reply message body.
16type Echo struct {
17 ID int // identifier
18 Seq int // sequence number
19 Data []byte // data
20}
21
22// Len implements the Len method of MessageBody interface.
23func (p *Echo) Len(proto int) int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected