MCPcopy
hub / github.com/cloudflare/cloudflared / RawPacket

Struct RawPacket

packet/encoder.go:15–17  ·  view source on GitHub ↗

RawPacket represents a raw packet or one encoded by Encoder

Source from the content-addressed store, hash-verified

13
14// RawPacket represents a raw packet or one encoded by Encoder
15type RawPacket struct {
16 Data []byte
17}
18
19type Encoder struct {
20 // buf is reusable because SerializeLayers calls the Clear method before each encoding

Callers 2

assertTTLExceedFunction · 0.92
validateIPPacketFunction · 0.92

Calls

no outgoing calls

Tested by 2

assertTTLExceedFunction · 0.74
validateIPPacketFunction · 0.74