Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/init/
H A Dboot.rs11 pub(super) fn early_boot_init(protocol: BootProtocol) -> Result<(), SystemError> { in early_boot_init()
12 match protocol { in early_boot_init()
/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf__block_a_port.c38 if (iph->protocol != IPPROTO_TCP) in handle_ingress()
/DragonOS/kernel/src/net/
H A Dsyscall.rs39 protocol: usize, in socket()
43 let protocol = Protocol::from(protocol as u8); in socket() localVariable
45 let socket = new_socket(address_family, socket_type, protocol)?; in socket()
67 protocol: usize, in socketpair()
72 let protocol = Protocol::from(protocol as u8); in socketpair() localVariable
78 let inode0 = SocketInode::new(new_socket(address_family, socket_type, protocol)?); in socketpair()
79 let inode1 = SocketInode::new(new_socket(address_family, socket_type, protocol)?); in socketpair()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new()
61 let protocol: u8 = protocol.into(); in new() localVariable
64 wire::IpProtocol::from(protocol), in new()
H A Dmod.rs67 protocol: Protocol, in new_socket()
80 PosixSocketType::Raw => Box::new(RawSocket::new(protocol, SocketOptions::default())), in new_socket()