Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 12 of 12) sorted by relevance

/DragonOS/user/apps/test_ebpf/syscall_ebpf/
H A D.gitignore1 ### https://raw.github.com/github/gitignore/master/Rust.gitignore
/DragonOS/kernel/
H A DCargo.toml54 smoltcp = { version = "=0.11.0", default-features = false, features = ["log", "alloc", "socket-raw
57 uefi-raw = "=0.5.0"
74 raw-cpuid = "11.0.1"
/DragonOS/kernel/src/net/socket/
H A Dinet.rs4 socket::{raw, tcp, udp},
53 let rx_buffer = raw::PacketBuffer::new( in new()
54 vec![raw::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new()
57 let tx_buffer = raw::PacketBuffer::new( in new()
58 vec![raw::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new()
62 let socket = raw::Socket::new( in new()
113 socket_set_guard.get_mut::<raw::Socket>(self.handle.smoltcp_handle().unwrap()); in read()
143 socket_set_guard.get_mut::<raw::Socket>(self.handle.smoltcp_handle().unwrap()); in write()
148 Err(raw::SendError::BufferFull) => { in write()
157 let socket: &mut raw::Socket = in write()
[all …]
H A Dmod.rs14 socket::{self, raw, tcp, udp},
788 socket::Socket::Raw(raw) => Self::raw_poll(raw, shutdown), in poll()
885 pub fn raw_poll(socket: &raw::Socket, shutdown: ShutdownType) -> EPollEventType { in raw_poll()
/DragonOS/tools/
H A Dcreate_hdd_image.sh59 qemu-img create -f raw ${DISK_NAME} 2048M
/DragonOS/kernel/src/virt/kvm/
H A Dhost_mem.rs144 let raw = addr as *const i32; in hva_to_pfn() localVariable
145 debug!("raw={:x}", *raw); in hva_to_pfn()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.7.md202 3.完善tcp,udp,raw socket
275 * raw socket
H A DV0.1.10.md80 - feat(net): 实现raw socket的poll (#739)
400 feat(net): 实现raw socket的poll (#739)
402 feat(net): 实现raw socket的poll
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs992 let mut raw: mem::MaybeUninit<*mut libc::c_void> = mem::MaybeUninit::uninit(); in new() localVariable
995 libc::posix_memalign(raw.as_mut_ptr(), PAGE_SIZE, size); in new()
997 *raw.as_mut_ptr(), in new()
1001 … std::ptr::write_bytes(*raw.as_mut_ptr(), 0xc3, size); // for now, prepopulate with 'RET' calls in new()
1003 std::slice::from_raw_parts_mut(*raw.as_mut_ptr() as *mut u8, NUM_PAGES * PAGE_SIZE); in new()
1004 raw.assume_init(); in new()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs99 raw: bool, field
142 raw: false, in new()
250 } else if self.raw || (termios.local_mode.contains(LocalMode::EXTPROC) && !preops) { in receive_buf()
2031 ldata.raw = false; in set_termios()
2035 ldata.raw = true; in set_termios()
/DragonOS/kernel/src/driver/pci/
H A Dpci.rs738 let raw = PciGeneralDevice::from(&general_device); in pci_read_header() localVariable
739 let _ = pci_device_manager().device_add(Arc::new(raw)); in pci_read_header()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md468 Besides passing the raw hexadecimal codes for building eBPF programs, two other