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

Function decodeLinuxSLL

layers/linux_sll.go:90–98  ·  view source on GitHub ↗
(data []byte, p gopacket.PacketBuilder)

Source from the content-addressed store, hash-verified

88}
89
90func decodeLinuxSLL(data []byte, p gopacket.PacketBuilder) error {
91 sll := &LinuxSLL{}
92 if err := sll.DecodeFromBytes(data, p); err != nil {
93 return err
94 }
95 p.AddLayer(sll)
96 p.SetLinkLayer(sll)
97 return p.NextDecoder(sll.EthernetType)
98}

Callers

nothing calls this directly

Calls 4

DecodeFromBytesMethod · 0.95
AddLayerMethod · 0.65
SetLinkLayerMethod · 0.65
NextDecoderMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…