MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / EncodeLayers

Method EncodeLayers

packet/packet.go:33–33  ·  view source on GitHub ↗

EncodeLayers returns the layers that make up this packet. They can be passed to an Encoder to serialize into RawPacket

()

Source from the content-addressed store, hash-verified

31 IPLayer() *IP
32 // EncodeLayers returns the layers that make up this packet. They can be passed to an Encoder to serialize into RawPacket
33 EncodeLayers() ([]gopacket.SerializableLayer, error)
34}
35
36// IP represents a generic IP packet. It can be embedded in more specific IP protocols

Callers 3

EncodeMethod · 0.65
EncodeLayersMethod · 0.65
EncodeLayersMethod · 0.65

Calls

no outgoing calls

Tested by 1

EncodeLayersMethod · 0.52