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

Method AddLayer

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

AddLayer should be called by a decoder immediately upon successful decoding of a layer.

(l Layer)

Source from the content-addressed store, hash-verified

43 // AddLayer should be called by a decoder immediately upon successful
44 // decoding of a layer.
45 AddLayer(l Layer)
46 // The following functions set the various specific layers in the final
47 // packet. Note that if many layers call SetX, the first call is kept and all
48 // other calls are ignored.

Callers 15

decodePayloadFunction · 0.65
decodeFragmentFunction · 0.65
decodeModbusTCPFunction · 0.65
decodeDHCPv6Function · 0.65
decodeDHCPv4Function · 0.65
decodeBFDFunction · 0.65
decodeRMCPFunction · 0.65
decodeLoopbackFunction · 0.65
decodeEthernetFunction · 0.65
decodeSFlowFunction · 0.65
decodeFDDIFunction · 0.65
decodeVXLANFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected