MCPcopy
hub / github.com/google/gopacket / ErrorLayer

Interface ErrorLayer

base.go:175–178  ·  view source on GitHub ↗

ErrorLayer is a packet layer created when decoding of the packet has failed. Its payload is all the bytes that we were unable to decode, and the returned error details why the decoding failed.

Source from the content-addressed store, hash-verified

173// Its payload is all the bytes that we were unable to decode, and the returned
174// error details why the decoding failed.
175type ErrorLayer interface {
176 Layer
177 Error() error
178}

Callers 8

packetsToChannelMethod · 0.65
StringMethod · 0.65
RunFunction · 0.65
gentestDefragFunction · 0.65
ErrorMethod · 0.65

Implementers 5

DecodeFailuredecode.go
testErrorbenchmark_test.go
Handlepcap/pcap.go
InactiveHandlepcap/pcap.go
SCTPUnknownChunkTypelayers/sctp.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…