Searched refs:address_family (Results 1 – 2 of 2) sorted by relevance
37 address_family: usize, in socket()41 let address_family = AddressFamily::try_from(address_family as u16)?; in socket() localVariable45 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() localVariable78 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()
65 address_family: AddressFamily, in new_socket()69 let socket: Box<dyn Socket> = match address_family { in new_socket()