fn into_ge_bpf(self, offset: u8) -> Vec<sock_filter> {
        let (msb, lsb, msb_offset, lsb_offset) = self.value_segments();

        let mut bpf = match self.arg_len {
            SeccompCmpArgLen::Dword => vec![],
            SeccompCmpArgLen::Qword => vec![
                BPF_STMT(BPF_LD + BPF_W + BPF_ABS, u32::from(msb_offset)),
                BPF_JUMP(BPF_JMP + BPF_JGT + BPF_K, msb, 3, 0),
                BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, msb, 0, offset + 2),
            ],
        };

        bpf.append(&mut vec![
            BPF_STMT(BPF_LD + BPF_W + BPF_ABS, u32::from(lsb_offset)),
            BPF_JUMP(BPF_JMP + BPF_JGE + BPF_K, lsb, 0, offset),
        ]);
        bpf
    }
/// Translates the `ge` (greater than or equal) condition into BPF statements.
///
/// # Arguments
///
/// * `offset` - The given jump offset to the start of the next rule.
Translates the `ge` (greater than or equal) condition into BPF statements.
Translates the ` ge ` ( greater than or equal ) condition into BPF statements .
fn into_ge_bpf(self, offset: u8) -> Vec<sock_filter> {
        let (msb, lsb, msb_offset, lsb_offset) = self.value_segments();
        let mut bpf = match self.arg_len {
            SeccompCmpArgLen::Dword => vec![],
            SeccompCmpArgLen::Qword => vec![
                BPF_STMT(BPF_LD + BPF_W + BPF_ABS, u32::from(msb_offset)),
                BPF_JUMP(BPF_JMP + BPF_JGT + BPF_K, msb, 3, 0),
                BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, msb, 0, offset + 2),
            ],
        };
        bpf.append(&mut vec![
            BPF_STMT(BPF_LD + BPF_W + BPF_ABS, u32::from(lsb_offset)),
            BPF_JUMP(BPF_JMP + BPF_JGE + BPF_K, lsb, 0, offset),
        ]);
        bpf
    }
fn into_ge_bpf ( self , offset : u8 ) -> Vec < sock_filter > { let ( msb , lsb , msb_offset , lsb_offset ) = self . value_segments ( ) ; let mut bpf = match self . arg_len { SeccompCmpArgLen :: Dword => vec ! [ ] , SeccompCmpArgLen :: Qword => vec ! [ BPF_STMT ( BPF_LD BPF_W BPF_ABS u32 from ( msb_offset ) ) BPF_JUMP ( BPF_JMP BPF_JGT BPF_K msb 3 0 ) BPF_JUMP ( BPF_JMP BPF_JEQ BPF_K msb 0 offset 2 ) ] , } ; bpf . append ( & mut vec ! [ BPF_STMT ( BPF_LD BPF_W BPF_ABS u32 from ( lsb_offset ) ) BPF_JUMP ( BPF_JMP BPF_JGE BPF_K lsb 0 offset ) ] ) ; bpf }
Translates the `ge` (greater than or equal) condition into BPF statements.
Translates the ` ge ` ( greater than or equal ) condition into BPF statements .
self
offset
u8
self
offset
u8