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: u16bedestination: u16belength: u16bechecksum: u16bepayload: 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
