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

FuncType DecodeFunc

decode.go:82–82  ·  view source on GitHub ↗

DecodeFunc wraps a function to make it a Decoder.

func([]byte, PacketBuilder) error

Source from the content-addressed store, hash-verified

80
81// DecodeFunc wraps a function to make it a Decoder.
82type DecodeFunc func([]byte, PacketBuilder) error
83
84// Decode implements Decoder by calling itself.
85func (d DecodeFunc) Decode(data []byte, p PacketBuilder) error {

Callers 15

initActualTypeDataFunction · 0.92
decodeCiscoDiscoveryFunction · 0.92
decodeMPLSFunction · 0.92
decodeEthernetCTPFunction · 0.92
sctp.goFile · 0.92
decodeSCTPInitFunction · 0.92
decodeSCTPSackFunction · 0.92
decodeSCTPHeartbeatFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…