pub struct AfInfoHookInfo {
pub protocol: String,
pub struct_name: String,
pub field: String,
pub hook_address: u64,
pub expected_module: String,
pub actual_module: String,
pub is_hooked: bool,
}Expand description
Information about a network protocol handler with potential hooks.
Fields§
§protocol: StringProtocol name, e.g. “tcp”, “udp”, “tcp6”, “udp6”, “raw”.
struct_name: StringKernel symbol name, e.g. “tcp_seq_afinfo”.
field: StringField path that was checked, e.g. “seq_ops.show”.
hook_address: u64Virtual address the function pointer targets.
expected_module: StringExpected module (should be kernel text).
actual_module: StringWhere the hook actually points.
is_hooked: boolWhether this function pointer is considered hooked.
Trait Implementations§
Source§impl Clone for AfInfoHookInfo
impl Clone for AfInfoHookInfo
Source§fn clone(&self) -> AfInfoHookInfo
fn clone(&self) -> AfInfoHookInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AfInfoHookInfo
impl Debug for AfInfoHookInfo
Auto Trait Implementations§
impl Freeze for AfInfoHookInfo
impl RefUnwindSafe for AfInfoHookInfo
impl Send for AfInfoHookInfo
impl Sync for AfInfoHookInfo
impl Unpin for AfInfoHookInfo
impl UnsafeUnpin for AfInfoHookInfo
impl UnwindSafe for AfInfoHookInfo
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