Home
last modified time | relevance | path

Searched refs:address_family (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/net/
H A Dsyscall.rs37 address_family: usize, in socket()
41 let address_family = AddressFamily::try_from(address_family as u16)?; in socket() localVariable
45 let socket = new_socket(address_family, socket_type, protocol)?; in socket()
65 address_family: usize, in socketpair()
70 let address_family = AddressFamily::try_from(address_family as u16)?; 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 Dmod.rs65 address_family: AddressFamily, in new_socket()
69 let socket: Box<dyn Socket> = match address_family { in new_socket()