Struct retina_core::conntrack::pdu::L4Pdu
source · pub struct L4Pdu {
pub mbuf: Mbuf,
pub ctxt: L4Context,
pub dir: bool,
}
Expand description
Transport-layer protocol data unit for stream reassembly and application-layer protocol parsing.
Fields§
§mbuf: Mbuf
Internal packet buffer containing frame data.
ctxt: L4Context
Transport layer context.
dir: bool
true
if segment is in the direction of orig -> resp.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L4Pdu
impl RefUnwindSafe for L4Pdu
impl !Send for L4Pdu
impl !Sync for L4Pdu
impl Unpin for L4Pdu
impl UnwindSafe for L4Pdu
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more