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

Struct ParamProb

icmp/paramprob.go:15–19  ·  view source on GitHub ↗

A ParamProb represents an ICMP parameter problem message body.

Source from the content-addressed store, hash-verified

13
14// A ParamProb represents an ICMP parameter problem message body.
15type 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.
22func (p *ParamProb) Len(proto int) int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected