fn into_bpf(self, offset: u8) -> Vec<sock_filter> {
        let result = match self.operator {
            SeccompCmpOp::Eq => self.into_eq_bpf(offset),
            SeccompCmpOp::Ge => self.into_ge_bpf(offset),
            SeccompCmpOp::Gt => self.into_gt_bpf(offset),
            SeccompCmpOp::Le => self.into_le_bpf(offset),
            SeccompCmpOp::Lt => self.into_lt_bpf(offset),
            SeccompCmpOp::MaskedEq(mask) => self.into_masked_eq_bpf(offset, mask),
            SeccompCmpOp::Ne => self.into_ne_bpf(offset),
        };

        // Verifies that the `CONDITION_MAX_LEN` constant was properly updated.
        assert!(result.len() <= CONDITION_MAX_LEN as usize);

        result
    }
/// Translates the [`SeccompCondition`] into BPF statements.
///
/// # Arguments
///
/// * `offset` - The given jump offset to the start of the next rule.
///
/// [`SeccompCondition`]: struct.SeccompCondition.html
Translates the [`SeccompCondition`] into BPF statements.
Translates the [ ` SeccompCondition ` ] into BPF statements .
fn into_bpf(self, offset: u8) -> Vec<sock_filter> {
        let result = match self.operator {
            SeccompCmpOp::Eq => self.into_eq_bpf(offset),
            SeccompCmpOp::Ge => self.into_ge_bpf(offset),
            SeccompCmpOp::Gt => self.into_gt_bpf(offset),
            SeccompCmpOp::Le => self.into_le_bpf(offset),
            SeccompCmpOp::Lt => self.into_lt_bpf(offset),
            SeccompCmpOp::MaskedEq(mask) => self.into_masked_eq_bpf(offset, mask),
            SeccompCmpOp::Ne => self.into_ne_bpf(offset),
        };
        // Verifies that the `CONDITION_MAX_LEN` constant was properly updated.
        assert!(result.len() <= CONDITION_MAX_LEN as usize);
        result
    }
fn into_bpf ( self , offset : u8 ) -> Vec < sock_filter > { let result = match self . operator { SeccompCmpOp :: Eq => self . into_eq_bpf ( offset ) , SeccompCmpOp :: Ge => self . into_ge_bpf ( offset ) , SeccompCmpOp :: Gt => self . into_gt_bpf ( offset ) , SeccompCmpOp :: Le => self . into_le_bpf ( offset ) , SeccompCmpOp :: Lt => self . into_lt_bpf ( offset ) , SeccompCmpOp :: MaskedEq ( mask ) => self . into_masked_eq_bpf ( offset , mask ) , SeccompCmpOp :: Ne => self . into_ne_bpf ( offset ) , } ; // Verifies that the `CONDITION_MAX_LEN` constant was properly updated. assert ! ( result len ( ) CONDITION_MAX_LEN as usize ) ; result }
Translates the [`SeccompCondition`] into BPF statements.
Translates the [ ` SeccompCondition ` ] into BPF statements .
self
offset
u8
self
offset
u8