Expand description
Types used in the owned variants of event structs
For the most part, they are the same as the borrowed types (fixed-size fields are just copied
out of the event buffer when parsing). However, some field types have variable
length and borrow from the event buffer, and so need an owned counterpart: &Path
references
become instances of std::path::PathBuf
, and &CStr
references become std::ffi::CString
s.
Re-exports§
pub use super::PT_BOOL;
pub use super::PT_ERRNO;
pub use super::PT_FD;
pub use super::PT_FDLIST;
pub use super::PT_GID;
pub use super::PT_INT16;
pub use super::PT_INT32;
pub use super::PT_INT64;
pub use super::PT_INT8;
pub use super::PT_IPNET;
pub use super::PT_IPV4NET;
pub use super::PT_IPV6NET;
pub use super::PT_PID;
pub use super::PT_PORT;
pub use super::PT_SIGSET;
pub use super::PT_SIGTYPE;
pub use super::PT_SOCKFAMILY;
pub use super::PT_SYSCALLID;
pub use super::PT_UID;
pub use super::PT_UINT16;
pub use super::PT_UINT32;
pub use super::PT_UINT64;
pub use super::PT_UINT8;
pub use crate::fields::dynamic_params::owned::*;
pub use crate::fields::event_flags::*;
Structs§
- A measurement of the system clock, useful for talking to external entities like the file system or other processes.
- A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
- An owned, mutable path (akin to
String
). - A relative path
- An IPv4 address.
- An IPv6 address.
- A
Duration
type to represent a span of time, typically used for system timeouts.
Enums§
- An IP address, either IPv4 or IPv6.
- A socket address (owned)
- Socket tuple: describing both endpoints of a connection (owned)
Type Aliases§
- Arbitrary (owned) byte buffer (
Vec<u8>
) - Array of C-style strings (
Vec<CString>
) - Array of pairs of C-style strings (
Vec<(CString, CString)>
)