Searched refs:protocol (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.9/kernel/src/net/ |
D | syscall.rs | 38 protocol: usize, in socket() 42 let protocol = Protocol::from(protocol as u8); in socket() localVariable 44 let socket = new_socket(address_family, socket_type, protocol)?; in socket() 71 protocol: usize, in socketpair() 76 let protocol = Protocol::from(protocol as u8); in socketpair() localVariable 78 let mut socket0 = new_socket(address_family, socket_type, protocol)?; in socketpair() 79 let mut socket1 = new_socket(address_family, socket_type, protocol)?; in socketpair()
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | sockets.rs | 52 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()
|
D | mod.rs | 59 protocol: Protocol, in new_socket() 65 PosixSocketType::Raw => Box::new(RawSocket::new(protocol, SocketOptions::default())), in new_socket() 74 PosixSocketType::Raw => Box::new(RawSocket::new(protocol, SocketOptions::default())), in new_socket()
|