Struct libpacket::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>