Data Fields | |
| off_t | exportsize |
| size of the file we're exporting | |
| char * | clientname |
| peer | |
| char * | exportname |
| (processed) filename of the file we're exporting | |
| GArray * | export |
| array of FILE_INFO of exported files; array size is always 1 unless we're doing the multiple file option | |
| int | net |
| The actual client socket. | |
| SERVER * | server |
| The server this client is getting data from. | |
| char * | difffilename |
| filename of the copy-on-write file, if any | |
| int | difffile |
| filedescriptor of copyonwrite file. | |
| u32 | difffilelen |
| number of pages in difffile | |
| u32 * | difmap |
| see comment on the global difmap for this one | |
| gboolean | modern |
| client was negotiated using modern negotiation protocol | |
Definition at line 218 of file nbd-server.c.
| off_t CLIENT::exportsize |
size of the file we're exporting
Definition at line 219 of file nbd-server.c.
Referenced by copyonwrite_prepare(), main(), mainloop(), negotiate(), serveloop(), and setupexport().
| char* CLIENT::clientname |
peer
Definition at line 220 of file nbd-server.c.
Referenced by authorized_client(), copyonwrite_prepare(), and set_peername().
| char* CLIENT::exportname |
(processed) filename of the file we're exporting
Definition at line 221 of file nbd-server.c.
Referenced by copyonwrite_prepare(), serveconnection(), set_peername(), and setupexport().
| GArray* CLIENT::export |
array of FILE_INFO of exported files; array size is always 1 unless we're doing the multiple file option
Definition at line 222 of file nbd-server.c.
Referenced by rawexpread(), rawexpwrite(), and setupexport().
| int CLIENT::net |
The actual client socket.
Definition at line 225 of file nbd-server.c.
Referenced by main(), mainloop(), negotiate(), serveconnection(), and serveloop().
The server this client is getting data from.
Definition at line 226 of file nbd-server.c.
Referenced by authorized_client(), expread(), expwrite(), main(), mainloop(), negotiate(), rawexpwrite(), serveconnection(), serveloop(), set_peername(), and setupexport().
| char* CLIENT::difffilename |
filename of the copy-on-write file, if any
Definition at line 227 of file nbd-server.c.
Referenced by copyonwrite_prepare(), and mainloop().
| int CLIENT::difffile |
filedescriptor of copyonwrite file.
Definition at line 228 of file nbd-server.c.
Referenced by copyonwrite_prepare(), expread(), expwrite(), and mainloop().
| u32* CLIENT::difmap |
see comment on the global difmap for this one
Definition at line 232 of file nbd-server.c.
Referenced by copyonwrite_prepare(), expread(), expwrite(), and mainloop().
| gboolean CLIENT::modern |
client was negotiated using modern negotiation protocol
Definition at line 233 of file nbd-server.c.
Referenced by negotiate().
1.5.6