An Echo represents an ICMP echo request or reply message body.
| 14 | |
| 15 | // An Echo represents an ICMP echo request or reply message body. |
| 16 | type 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. |
| 23 | func (p *Echo) Len(proto int) int { |
nothing calls this directly
no outgoing calls
no test coverage detected