Struct pnet_packet::udp::Udp [−][src]
pub struct Udp {
pub source: u16be,
pub destination: u16be,
pub length: u16be,
pub checksum: u16be,
pub payload: Vec<u8>,
}
Expand description
Represents a UDP Packet.
Fields
source: u16be
destination: u16be
length: u16be
checksum: u16be
payload: Vec<u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Udp
impl UnwindSafe for Udp
Blanket Implementations
Mutably borrows from an owned value. Read more