NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
main.cc File Reference
#include <nul/program.h>
#include <nul/timer.h>
#include <nul/service_timer.h>
#include <nul/service_log.h>
#include <nul/service_config.h>
#include <service/endian.h>
#include <service/cmdline.h>
#include <sigma0/sigma0.h>
#include <sigma0/console.h>
#include "server.h"
#include "events.h"

Classes

class  ab::RemoteConfig

Namespaces

namespace  ab

Macros

#define NUL_TCP_EOF   (~0u)

Enumerations

enum  {
  IP_NUL_VERSION = 0, IP_DHCP_START = 1, IP_IPADDR_DUMP = 2, IP_TIMEOUT_NEXT = 3,
  IP_UDP_OPEN = 4, IP_TCP_OPEN = 5, IP_SET_ADDR = 6, IP_TCP_SEND = 7,
  IP_TCP_CLOSE = 8
}

Functions

EXTERN_C void dlmalloc_init (cap_sel pool)
void nul_ip_input (void *data, unsigned size)
bool nul_ip_init (void(*send_network)(char unsigned const *data, unsigned len), unsigned long long mac)
bool nul_ip_config (unsigned para, void *arg)
bool nul_tls_init (unsigned char *server_cert, int32 server_cert_len, unsigned char *server_key, int32 server_key_len, unsigned char *ca_cert, int32 ca_cert_len)
int32 nul_tls_session (void *&ssl)
int32 nul_tls_len (void *ssl, unsigned char *&buf)
int32 nul_tls_config (int32 transferred, void(*write_out)(uint16 localport, void *out, size_t out_len), void *&appdata, size_t &appdata_len, bool bappdata, uint16 port, void *&ssl_session)
void nul_tls_delete_session (void *ssl_session)

Macro Definition Documentation

#define NUL_TCP_EOF   (~0u)

Enumeration Type Documentation

anonymous enum
Enumerator:
IP_NUL_VERSION 
IP_DHCP_START 
IP_IPADDR_DUMP 
IP_TIMEOUT_NEXT 
IP_UDP_OPEN 
IP_TCP_OPEN 
IP_SET_ADDR 
IP_TCP_SEND 
IP_TCP_CLOSE 

Function Documentation

void dlmalloc_init ( cap_sel  pool)
bool nul_ip_config ( unsigned  para,
void *  arg 
)
bool nul_ip_init ( void(*)(char unsigned const *data, unsigned len send_network,
unsigned long long  mac 
)
void nul_ip_input ( void *  data,
unsigned  size 
)
int32 nul_tls_config ( int32  transferred,
void(*)(uint16 localport, void *out, size_t out_len)  write_out,
void *&  appdata,
size_t &  appdata_len,
bool  bappdata,
uint16  port,
void *&  ssl_session 
)
void nul_tls_delete_session ( void *  ssl_session)
bool nul_tls_init ( unsigned char *  server_cert,
int32  server_cert_len,
unsigned char *  server_key,
int32  server_key_len,
unsigned char *  ca_cert,
int32  ca_cert_len 
)
int32 nul_tls_len ( void *  ssl,
unsigned char *&  buf 
)
int32 nul_tls_session ( void *&  ssl)