#include <errno.h>#include <string.h>#include <netdb.h>#include <netinet/tcp.h>#include <stdlib.h>#include <linux/types.h>#include <linux/nbd.h>Go to the source code of this file.
Defines | |
| #define | INIT_PASSWD "NBDMAGIC" |
| #define | INFO(a) do { } while(0) |
| #define | htonll ntohll |
Functions | |
| void | setmysockopt (int sock) |
| void | err (const char *s) |
| void | logging (void) |
| u64 | ntohll (u64 a) |
Variables | |
| u64 | cliserv_magic = 0x00420281861253LL |
| #define htonll ntohll |
| #define INFO | ( | a | ) | do { } while(0) |
| #define INIT_PASSWD "NBDMAGIC" |
| void err | ( | const char * | s | ) |
Definition at line 77 of file cliserv.h.
Referenced by copyonwrite_prepare(), daemonize(), finish_sock(), main(), mainloop(), myseek(), negotiate(), opennet(), parse_cfile(), readit(), serveloop(), set_peername(), setsizes(), setup_connection(), setup_serve(), setupexport(), size_autodetect(), throughput_test(), and writeit().
| void logging | ( | void | ) |
| u64 ntohll | ( | u64 | a | ) |
Definition at line 118 of file cliserv.h.
Referenced by mainloop(), negotiate(), setup_connection(), and throughput_test().
| void setmysockopt | ( | int | sock | ) |
Definition at line 59 of file cliserv.h.
References INFO.
Referenced by opennet(), serveconnection(), and setup_connection().
| u64 cliserv_magic = 0x00420281861253LL |
1.5.3