Home
last modified time | relevance | path

Searched refs:data_end (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf__block_a_port.c28 void *data_end = (void *)(long)skb->data_end; in handle_ingress() local
34 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*tcp) > data_end) in handle_ingress()
/DragonOS/kernel/crates/rbpf/tests/
H A Dmisc.rs241 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_vm_mbuff() localVariable
243 data_end.write_unaligned(mem.as_ptr() as u64 + mem.len() as u64); in test_vm_mbuff()
275 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_vm_mbuff_with_rust_api() localVariable
277 *data_end = mem.as_ptr() as u64 + mem.len() as u64; in test_vm_mbuff_with_rust_api()
299 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_jit_mbuff() localVariable
301 *data_end = mem.as_ptr() as u64 + mem.len() as u64; in test_jit_mbuff()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md348 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64;
350 *data_end = mem.as_ptr() as u64 + mem.len() as u64;