|
Network Block Device
@PACKAGE_VERSION@
|
Variables associated with a server. More...
Data Fields | |
| gchar * | exportname |
| (unprocessed) filename of the file we're exporting More... | |
| off_t | expected_size |
| size of the exported file as it was told to us through configuration More... | |
| gchar * | listenaddr |
| The IP address we're listening on. More... | |
| unsigned int | port |
| port we're exporting this file at More... | |
| char * | authname |
| filename of the authorization file More... | |
| int | flags |
| flags associated with this exported file More... | |
| int | socket |
| The socket of this server. More... | |
| int | socket_family |
| family of the socket More... | |
| VIRT_STYLE | virtstyle |
| The style of virtualization, if any. More... | |
| uint8_t | cidrlen |
| The length of the mask when we use CIDR-style virtualization. More... | |
| gchar * | prerun |
| command to be ran after connecting a client, but before starting to serve More... | |
| gchar * | postrun |
| command that will be ran after the client disconnects More... | |
| gchar * | servename |
| name of the export as selected by nbd-client More... | |
| int | max_connections |
| maximum number of opened connections More... | |
| gchar * | transactionlog |
| filename for transaction log More... | |
Variables associated with a server.
Definition at line 213 of file nbd-server.c.
| char* SERVER::authname |
filename of the authorization file
Definition at line 219 of file nbd-server.c.
Referenced by parse_cfile().
| uint8_t SERVER::cidrlen |
The length of the mask when we use CIDR-style virtualization.
Definition at line 224 of file nbd-server.c.
Referenced by parse_cfile().
| off_t SERVER::expected_size |
size of the exported file as it was told to us through configuration
Definition at line 215 of file nbd-server.c.
Referenced by parse_cfile().
| gchar* SERVER::exportname |
(unprocessed) filename of the file we're exporting
Definition at line 214 of file nbd-server.c.
Referenced by parse_cfile().
| int SERVER::flags |
flags associated with this exported file
Definition at line 220 of file nbd-server.c.
Referenced by parse_cfile().
| gchar* SERVER::listenaddr |
The IP address we're listening on.
Definition at line 217 of file nbd-server.c.
Referenced by parse_cfile().
| int SERVER::max_connections |
maximum number of opened connections
Definition at line 231 of file nbd-server.c.
Referenced by parse_cfile().
| unsigned int SERVER::port |
port we're exporting this file at
Definition at line 218 of file nbd-server.c.
Referenced by parse_cfile().
| gchar* SERVER::postrun |
command that will be ran after the client disconnects
Definition at line 228 of file nbd-server.c.
Referenced by parse_cfile().
| gchar* SERVER::prerun |
command to be ran after connecting a client, but before starting to serve
Definition at line 226 of file nbd-server.c.
Referenced by parse_cfile().
| gchar* SERVER::servename |
name of the export as selected by nbd-client
Definition at line 230 of file nbd-server.c.
Referenced by get_index_by_servename(), parse_cfile(), and setup_serve().
| int SERVER::socket |
The socket of this server.
Definition at line 221 of file nbd-server.c.
| int SERVER::socket_family |
| gchar* SERVER::transactionlog |
filename for transaction log
Definition at line 232 of file nbd-server.c.
Referenced by parse_cfile(), and serveconnection().
| VIRT_STYLE SERVER::virtstyle |
The style of virtualization, if any.
Definition at line 223 of file nbd-server.c.
Referenced by parse_cfile().
1.8.8