pub struct TipPgd(/* private fields */);
Expand description
A packet with IP payload. Packet: tip.pgd
Implementations§
Source§impl TipPgd
impl TipPgd
pub fn new(tippgd: u64, compression: Compression) -> Self
Sourcepub fn set_tippgd(&mut self, tippgd: u64)
pub fn set_tippgd(&mut self, tippgd: u64)
Zero-extended payload ip
Sourcepub fn compression(&self) -> Compression
pub fn compression(&self) -> Compression
IP compression
Sourcepub fn set_compression(&mut self, compression: Compression)
pub fn set_compression(&mut self, compression: Compression)
IP compression
Trait Implementations§
Source§impl From<pt_packet_ip> for TipPgd
impl From<pt_packet_ip> for TipPgd
Source§fn from(origin: pt_packet_ip) -> Self
fn from(origin: pt_packet_ip) -> Self
Converts to this type from the input type.
impl Copy for TipPgd
Auto Trait Implementations§
impl Freeze for TipPgd
impl RefUnwindSafe for TipPgd
impl Send for TipPgd
impl Sync for TipPgd
impl Unpin for TipPgd
impl UnwindSafe for TipPgd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more