|
NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
#include <server.h>
Classes | |
| class | Auth |
| struct | disks |
| struct | server_data |
Public Member Functions | |
| Remcon (char const *_cmdline, ConfigProtocol *_sconfig, unsigned _cpu_count, unsigned long cap_start, unsigned long cap_order, EventProducer *prod_event, AuthProducer *prod_auth, const char *templatefile, unsigned len_template, const char *diskfile, unsigned len_disk, unsigned long verbose) | |
| void | recv_file (uint32 remoteip, uint16 remoteport, uint16 localport, void *in, size_t in_len, void *&out, size_t &out_len) |
| void | recv_call_back (void *in, size_t in_len, void *&out, size_t &out_len) |
| int | send (void *mem, size_t count) |
| bool | find_uuid (unsigned remoteid, char *uuid) |
| bool | clean_disk (unsigned internal_id) |
| unsigned | get_free_disk (uint64_t disksize, unsigned §orsize, char *diskuuid, unsigned diskuuidmax) |
| unsigned | get_disk_id_from_name (const char *name) |
| unsigned | chg_event_slot (struct server_data *entry, uint32_t eventID, bool newentry) |
| unsigned | get_event_slot (struct server_data *entry, uint32_t eventID) |
| bool | push_event (int guid, uint32_t eventid, uint32_t extra_len=0, char const *extra=0) |
| timevalue | time () |
Public Member Functions inherited from CapAllocator | |
| CapAllocator (unsigned long cap_, unsigned long cap_start, unsigned long cap_order) | |
| unsigned | alloc_cap (unsigned count=1) |
| void | dealloc_cap (unsigned cap, unsigned count=1) |
Public Attributes | |
| class Auth * | obj_auth |
Public Attributes inherited from CapAllocator | |
| unsigned long | _cap_ |
| unsigned long | _cap_start |
| unsigned long | _cap_order |
Private Member Functions | |
| void | handle_packet (void) |
| void | gen_uuid (char const *text, char uuid[UUID_LEN]) |
| struct server_data * | check_uuid (char const uuid[UUID_LEN]) |
| struct server_data * | get_free_entry () |
| void | free_entry (struct server_data *entry) |
| unsigned | start_entry (struct server_data *entry) |
Private Attributes | |
| DiskHelper< Remcon, 4096 > * | service_disk |
| bool | gevents |
| struct Remcon::server_data | server_data [32] |
| unsigned char | buf_out [NOVA_PACKET_LEN] |
| unsigned char | buf_in [NOVA_PACKET_LEN] |
| unsigned | data_received |
| struct incoming_packet * | _in |
| struct outgoing_packet * | _out |
| bool | dowrite |
| char const * | cmdline |
| ConfigProtocol * | service_config |
| unsigned | cpu_count |
| EventProducer * | eventproducer |
| AuthProducer * | authproducer |
| AdmissionProtocol * | service_admission |
| const char * | file_template |
| const char * | file_diskuuid |
| unsigned | file_len_template |
| unsigned | file_len_diskuuid |
| struct Remcon::disks * | disks |
| unsigned long | verbosity |
|
inline |
|
readprivate |
|
inline |
|
inline |
|
inline |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
readprivate |
|
private |
|
inline |
| void Remcon::recv_call_back | ( | void * | in, |
| size_t | in_len, | ||
| void *& | out, | ||
| size_t & | out_len | ||
| ) |
| void Remcon::recv_file | ( | uint32 | remoteip, |
| uint16 | remoteport, | ||
| uint16 | localport, | ||
| void * | in, | ||
| size_t | in_len, | ||
| void *& | out, | ||
| size_t & | out_len | ||
| ) |
|
inline |
|
private |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| class Auth* Remcon::obj_auth |
|
private |
|
private |
|
private |
|
private |
|
private |