Struct ppp::v2::IPv4 [−][src]
pub struct IPv4 {
pub source_address: Ipv4Addr,
pub source_port: u16,
pub destination_address: Ipv4Addr,
pub destination_port: u16,
}
Expand description
The source and destination IPv4 addresses and TCP ports of a header.
Fields
source_address: Ipv4Addr
source_port: u16
destination_address: Ipv4Addr
destination_port: u16
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IPv4
impl UnwindSafe for IPv4
Blanket Implementations
Mutably borrows from an owned value. Read more