]>
Commit | Line | Data |
---|---|---|
9588463e VSO |
1 | # nbd/client.c |
2 | nbd_unknown_error(int err) "Squashing unexpected error %d to EINVAL" | |
3736cc5b EB |
3 | nbd_send_option_request(uint32_t opt, const char *name, uint32_t len) "Sending option request %" PRIu32" (%s), len %" PRIu32 |
4 | nbd_receive_option_reply(uint32_t option, const char *optname, uint32_t type, const char *typename, uint32_t length) "Received option reply %" PRIx32" (%s), type %" PRIx32" (%s), len %" PRIu32 | |
5 | nbd_reply_err_unsup(uint32_t option, const char *name) "server doesn't understand request %" PRIx32 " (%s), attempting fallback" | |
9588463e VSO |
6 | nbd_receive_query_exports_start(const char *wantname) "Querying export list for '%s'" |
7 | nbd_receive_query_exports_success(const char *wantname) "Found desired export name '%s'" | |
8 | nbd_receive_starttls_request(void) "Requesting TLS from server" | |
9 | nbd_receive_starttls_reply(void) "Getting TLS reply from server" | |
10 | nbd_receive_starttls_new_client(void) "TLS request approved, setting up TLS" | |
11 | nbd_receive_starttls_tls_handshake(void) "Starting TLS handshake" | |
12 | nbd_receive_negotiate(void *tlscreds, const char *hostname) "Receiving negotiation tlscreds=%p hostname=%s" | |
13 | nbd_receive_negotiate_magic(uint64_t magic) "Magic is 0x%" PRIx64 | |
14 | nbd_receive_negotiate_server_flags(uint32_t globalflags) "Global flags are %" PRIx32 | |
15 | nbd_receive_negotiate_default_name(void) "Using default NBD export name \"\"" | |
16 | nbd_receive_negotiate_size_flags(uint64_t size, uint16_t flags) "Size is %" PRIu64 ", export flags %" PRIx16 | |
17 | nbd_init_set_socket(void) "Setting NBD socket" | |
18 | nbd_init_set_block_size(unsigned long block_size) "Setting block size to %lu" | |
19 | nbd_init_set_size(unsigned long sectors) "Setting size to %lu block(s)" | |
20 | nbd_init_trailing_bytes(int ignored_bytes) "Ignoring trailing %d bytes of export" | |
21 | nbd_init_set_readonly(void) "Setting readonly attribute" | |
22 | nbd_init_finish(void) "Negotiation ended" | |
23 | nbd_client_loop(void) "Doing NBD loop" | |
24 | nbd_client_loop_ret(int ret, const char *error) "NBD loop returned %d: %s" | |
25 | nbd_client_clear_queue(void) "Clearing NBD queue" | |
26 | nbd_client_clear_socket(void) "Clearing NBD socket" | |
27 | nbd_send_request(uint64_t from, uint32_t len, uint64_t handle, uint16_t flags, uint16_t type) "Sending request to server: { .from = %" PRIu64", .len = %" PRIu32 ", .handle = %" PRIu64 ", .flags = %" PRIx16 ", .type = %" PRIu16 " }" | |
28 | nbd_receive_reply(uint32_t magic, int32_t error, uint64_t handle) "Got reply: { magic = 0x%" PRIx32 ", .error = % " PRId32 ", handle = %" PRIu64" }" | |
29 | ||
30 | # nbd/server.c | |
3736cc5b | 31 | nbd_negotiate_send_rep_len(uint32_t opt, const char *optname, uint32_t type, const char *typename, uint32_t len) "Reply opt=%" PRIx32 " (%s), type=%" PRIx32 " (%s), len=%" PRIu32 |
9588463e VSO |
32 | nbd_negotiate_send_rep_err(const char *msg) "sending error message \"%s\"" |
33 | nbd_negotiate_send_rep_list(const char *name, const char *desc) "Advertising export name '%s' description '%s'" | |
34 | nbd_negotiate_handle_export_name(void) "Checking length" | |
35 | nbd_negotiate_handle_export_name_request(const char *name) "Client requested export '%s'" | |
36 | nbd_negotiate_handle_starttls(void) "Setting up TLS" | |
37 | nbd_negotiate_handle_starttls_handshake(void) "Starting TLS handshake" | |
38 | nbd_negotiate_options_flags(void) "Checking client flags" | |
39 | nbd_negotiate_options_newstyle(void) "Client supports fixed newstyle handshake" | |
40 | nbd_negotiate_options_no_zeroes(void) "Client supports no zeroes at handshake end" | |
41 | nbd_negotiate_options_check_magic(uint64_t magic) "Checking opts magic 0x%" PRIx64 | |
3736cc5b | 42 | nbd_negotiate_options_check_option(uint32_t option, const char *name) "Checking option 0x%" PRIx32 " (%s)" |
9588463e VSO |
43 | nbd_negotiate_begin(void) "Beginning negotiation" |
44 | nbd_negotiate_old_style(uint64_t size, unsigned flags) "advertising size %" PRIu64 " and flags %x" | |
45 | nbd_negotiate_new_style_size_flags(uint64_t size, unsigned flags) "advertising size %" PRIu64 " and flags %x" | |
46 | nbd_negotiate_success(void) "Negotiation succeeded" | |
47 | nbd_receive_request(uint32_t magic, uint16_t flags, uint16_t type, uint64_t from, uint32_t len) "Got request: { magic = 0x%" PRIx32 ", .flags = %" PRIx16 ", .type = %" PRIx16 ", from = %" PRIu64 ", len = %" PRIu32 " }" | |
48 | nbd_send_reply(int32_t error, uint64_t handle) "Sending response to client: { .error = %" PRId32 ", handle = %" PRIu64 " }" | |
49 | nbd_blk_aio_attached(const char *name, void *ctx) "Export %s: Attaching clients to AIO context %p\n" | |
50 | nbd_blk_aio_detach(const char *name, void *ctx) "Export %s: Detaching clients from AIO context %p\n" | |
51 | nbd_co_send_reply(uint64_t handle, uint32_t error, int len) "Send reply: handle = %" PRIu64 ", error = %" PRIu32 ", len = %d" | |
3736cc5b | 52 | nbd_co_receive_request_decode_type(uint64_t handle, uint16_t type, const char *name) "Decoding type: handle = %" PRIu64 ", type = %" PRIu16 " (%s)" |
9588463e VSO |
53 | nbd_co_receive_request_payload_received(uint64_t handle, uint32_t len) "Payload received: handle = %" PRIu64 ", len = %" PRIu32 |
54 | nbd_co_receive_request_cmd_write(uint32_t len) "Reading %" PRIu32 " byte(s)" | |
55 | nbd_trip(void) "Reading request" |