MCPcopy
hub / github.com/google/gopacket / GRE

Struct GRE

layers/gre.go:16–24  ·  view source on GitHub ↗

GRE is a Generic Routing Encapsulation header.

Source from the content-addressed store, hash-verified

14
15// GRE is a Generic Routing Encapsulation header.
16type GRE struct {
17 BaseLayer
18 ChecksumPresent, RoutingPresent, KeyPresent, SeqPresent, StrictSourceRoute, AckPresent bool
19 RecursionControl, Flags, Version uint8
20 Protocol EthernetType
21 Checksum, Offset uint16
22 Key, Seq, Ack uint32
23 *GRERouting
24}
25
26// GRERouting is GRE routing information, present if the RoutingPresent flag is
27// set.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected