A ParamProb represents an ICMP parameter problem message body.
| 13 | |
| 14 | // A ParamProb represents an ICMP parameter problem message body. |
| 15 | type ParamProb struct { |
| 16 | Pointer uintptr // offset within the data where the error was detected |
| 17 | Data []byte // data, known as original datagram field |
| 18 | Extensions []Extension // extensions |
| 19 | } |
| 20 | |
| 21 | // Len implements the Len method of MessageBody interface. |
| 22 | func (p *ParamProb) Len(proto int) int { |
nothing calls this directly
no outgoing calls
no test coverage detected