GRE is a Generic Routing Encapsulation header.
| 14 | |
| 15 | // GRE is a Generic Routing Encapsulation header. |
| 16 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected