Module types

Source
Expand description

§Event field types

These are the types that can be used in event fields. They are built-in Rust types wherever possible, newtype wrappers in some cases, or new dedicated types.

Re-exports§

pub use crate::fields::dynamic_params::*;
pub use crate::fields::event_flags::*;

Structs§

PT_ABSTIME
System time
PT_BOOL
Boolean value (0/1)
PT_ERRNO
Syscall result
PT_FD
File descriptor
PT_FDLIST
A list of file descriptors with flags
PT_FSRELPATH
A relative path
PT_GID
Group id
PT_IPNET
An IP network
PT_IPV4ADDR
An IPv4 address.
PT_IPV4NET
An IPv4 network
PT_IPV6ADDR
An IPv6 address.
PT_IPV6NET
An IPv6 network
PT_PID
Process or thread id
PT_PORT
IP port number
PT_RELTIME
A Duration type to represent a span of time, typically used for system timeouts.
PT_SIGSET
Signal set (bitmask of signals, only the lower 32 bits are used)
PT_SIGTYPE
A signal number
PT_SOCKFAMILY
Socket family (PPM_AF_*)
PT_SYSCALLID
A system call number
PT_UID
User id

Enums§

PT_IPADDR
An IP address, either IPv4 or IPv6.
PT_SOCKADDR
A socket address
PT_SOCKTUPLE
Socket tuple: describing both endpoints of a connection

Type Aliases§

PT_BYTEBUF
Arbitrary byte buffer ([u8])
PT_CHARBUF
C-style string (CStr)
PT_CHARBUFARRAY
Array of C-style strings (Vec<&CStr>)
PT_CHARBUF_PAIR_ARRAY
Array of pairs of C-style strings (Vec<(&CStr, &CStr)>)
PT_FSPATH
Represents a Unix-specific [Path]
PT_INT8
Signed 8-bit value (i8)
PT_INT16
Signed 16-bit value (i16)
PT_INT32
Signed 32-bit value (i32)
PT_INT64
Signed 64-bit value (i64)
PT_UINT8
Unsigned 8-bit value (u8)
PT_UINT16
Unsigned 16-bit value (u16)
PT_UINT32
Unsigned 32-bit value (u32)
PT_UINT64
Unsigned 64-bit value (u64)