pub struct EbpfConfig {
pub enabled: bool,
pub interface: String,
pub xdp_mode: String,
pub ring_buffer_size: usize,
pub blocklist_max_entries: usize,
}Expand description
eBPF 엔진 설정
Fields§
§enabled: bool활성화 여부
interface: String감시할 네트워크 인터페이스
xdp_mode: StringXDP 모드 (native, skb, hw)
ring_buffer_size: usize이벤트 링 버퍼 크기 (바이트)
blocklist_max_entries: usize차단 목록 최대 엔트리 수
Implementations§
Source§impl EbpfConfig
impl EbpfConfig
Sourcepub fn validate(&self) -> Result<(), IronpostError>
pub fn validate(&self) -> Result<(), IronpostError>
Validate eBPF configuration values.
Trait Implementations§
Source§impl Clone for EbpfConfig
impl Clone for EbpfConfig
Source§fn clone(&self) -> EbpfConfig
fn clone(&self) -> EbpfConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EbpfConfig
impl Debug for EbpfConfig
Source§impl Default for EbpfConfig
impl Default for EbpfConfig
Source§impl<'de> Deserialize<'de> for EbpfConfigwhere
EbpfConfig: Default,
impl<'de> Deserialize<'de> for EbpfConfigwhere
EbpfConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EbpfConfig
impl RefUnwindSafe for EbpfConfig
impl Send for EbpfConfig
impl Sync for EbpfConfig
impl Unpin for EbpfConfig
impl UnwindSafe for EbpfConfig
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