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:

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

impl Debug for Gre
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.