MCPcopy Index your code
hub / github.com/google/gopacket / decodeUnknown

Function decodeUnknown

decode.go:155–157  ·  view source on GitHub ↗

decodeUnknown "decodes" unsupported data types by returning an error. This decoder will thus always return a DecodeFailure layer.

(data []byte, p PacketBuilder)

Source from the content-addressed store, hash-verified

153// decodeUnknown "decodes" unsupported data types by returning an error.
154// This decoder will thus always return a DecodeFailure layer.
155func decodeUnknown(data []byte, p PacketBuilder) error {
156 return errors.New("Layer type not currently supported")
157}

Callers

nothing calls this directly

Calls 1

NewMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…