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

Interface DecodeFeedback

decode.go:14–19  ·  view source on GitHub ↗

DecodeFeedback is used by DecodingLayer layers to provide decoding metadata.

Source from the content-addressed store, hash-verified

12
13// DecodeFeedback is used by DecodingLayer layers to provide decoding metadata.
14type DecodeFeedback interface {
15 // SetTruncated should be called if during decoding you notice that a packet
16 // is shorter than internal layer variables (HeaderLength, or the like) say it
17 // should be. It sets packet.Metadata().Truncated.
18 SetTruncated()
19}
20
21type nilDecodeFeedback struct{}
22

Callers 8

DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65
DecodeFromBytesMethod · 0.65

Implementers 3

packetpacket.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…