Struct pnet::packet::gre::Gre
[−]
[src]
pub struct Gre { // some fields omitted }
GRE (Generic Routing Encapsulation) Packet.
See RFCs 1701, 2784, 2890, 7676, 2637
Current status of implementation:
RFC 1701 except for source routing and checksums. Processing a source routed packet will panic. Checksums are able to be inspected, but not calculated or verified.
RFC 2784 except for checksums (same as 1701 status). Note that it is possible to generate noncompliant packets by setting any of the reserved bits (but see 2890).
RFC 2890 implemented
RFC 7676 has no packet changes - compliance is up to the user
RFC 2637 not implemented.
Note that routing information from RFC 1701 is not implemented, packets with routing_present true will currently cause a panic.
Trait Implementations
Derived Implementations
impl Clone for Gre
[src]
fn clone(&self) -> Gre
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more