|
Network Block Device
@PACKAGE_VERSION@
|
Variables associated with a server. More...
Data Fields | |
| gchar * | exportname |
| (unprocessed) filename of the file we're exporting | |
| off_t | expected_size |
| size of the exported file as it was told to us through configuration | |
| gchar * | listenaddr |
| The IP address we're listening on. | |
| unsigned int | port |
| port we're exporting this file at | |
| char * | authname |
| filename of the authorization file | |
| int | flags |
| flags associated with this exported file | |
| int | socket |
| The socket of this server. | |
| int | socket_family |
| family of the socket | |
| VIRT_STYLE | virtstyle |
| The style of virtualization, if any. | |
| uint8_t | cidrlen |
| The length of the mask when we use CIDR-style virtualization. | |
| gchar * | prerun |
| command to be ran after connecting a client, but before starting to serve | |
| gchar * | postrun |
| command that will be ran after the client disconnects | |
| gchar * | servename |
| name of the export as selected by nbd-client | |
| int | max_connections |
| maximum number of opened connections | |
| gchar * | transactionlog |
| filename for transaction log | |
Variables associated with a server.
Definition at line 212 of file nbd-server.c.
| char* SERVER::authname |
filename of the authorization file
Definition at line 218 of file nbd-server.c.
Referenced by authorized_client(), cmdline(), dump_section(), dup_serve(), parse_cfile(), and remove_server().
| uint8_t SERVER::cidrlen |
The length of the mask when we use CIDR-style virtualization.
Definition at line 223 of file nbd-server.c.
Referenced by dup_serve(), parse_cfile(), and set_peername().
| off_t SERVER::expected_size |
size of the exported file as it was told to us through configuration
Definition at line 214 of file nbd-server.c.
Referenced by cmdline(), dump_section(), dup_serve(), parse_cfile(), and setupexport().
| gchar* SERVER::exportname |
(unprocessed) filename of the file we're exporting
Definition at line 213 of file nbd-server.c.
Referenced by cmdline(), dump_section(), dup_serve(), parse_cfile(), remove_server(), serve_err(), and set_peername().
| int SERVER::flags |
flags associated with this exported file
Definition at line 219 of file nbd-server.c.
Referenced by cmdline(), dump_section(), dup_serve(), expflush(), expread(), expwrite(), mainloop(), negotiate(), parse_cfile(), rawexpwrite(), serveconnection(), setup_serve(), and setupexport().
| gchar* SERVER::listenaddr |
The IP address we're listening on.
Definition at line 216 of file nbd-server.c.
Referenced by append_serve(), cmdline(), dump_section(), dup_serve(), parse_cfile(), remove_server(), and setup_serve().
| int SERVER::max_connections |
maximum number of opened connections
Definition at line 230 of file nbd-server.c.
Referenced by cmdline(), dup_serve(), parse_cfile(), and serveloop().
| unsigned int SERVER::port |
port we're exporting this file at
Definition at line 217 of file nbd-server.c.
Referenced by append_serve(), cmdline(), daemonize(), dump_section(), dup_serve(), main(), parse_cfile(), serve_err(), and setup_serve().
| gchar* SERVER::postrun |
command that will be ran after the client disconnects
Definition at line 227 of file nbd-server.c.
Referenced by dup_serve(), parse_cfile(), remove_server(), and serveconnection().
| gchar* SERVER::prerun |
command to be ran after connecting a client, but before starting to serve
Definition at line 225 of file nbd-server.c.
Referenced by dup_serve(), parse_cfile(), remove_server(), and serveconnection().
| gchar* SERVER::servename |
name of the export as selected by nbd-client
Definition at line 229 of file nbd-server.c.
Referenced by dup_serve(), handle_export_name(), handle_list(), parse_cfile(), and setup_serve().
| int SERVER::socket |
The socket of this server.
Definition at line 220 of file nbd-server.c.
Referenced by dup_serve(), serveloop(), and setup_serve().
| int SERVER::socket_family |
family of the socket
Definition at line 221 of file nbd-server.c.
Referenced by append_serve(), dup_serve(), main(), parse_cfile(), and setup_serve().
| gchar* SERVER::transactionlog |
filename for transaction log
Definition at line 231 of file nbd-server.c.
Referenced by dup_serve(), parse_cfile(), remove_server(), and serveconnection().
| VIRT_STYLE SERVER::virtstyle |
The style of virtualization, if any.
Definition at line 222 of file nbd-server.c.
Referenced by cmdline(), dup_serve(), parse_cfile(), and set_peername().
1.8.2