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

Method SetLinkLayer

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

The following functions set the various specific layers in the final packet. Note that if many layers call SetX, the first call is kept and all other calls are ignored.

(LinkLayer)

Source from the content-addressed store, hash-verified

47 // packet. Note that if many layers call SetX, the first call is kept and all
48 // other calls are ignored.
49 SetLinkLayer(LinkLayer)
50 SetNetworkLayer(NetworkLayer)
51 SetTransportLayer(TransportLayer)
52 SetApplicationLayer(ApplicationLayer)

Callers 4

decodeEthernetFunction · 0.65
decodeFDDIFunction · 0.65
decodeLinuxSLLFunction · 0.65
decodePPPFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected