|
Network Block Device
@PACKAGE_VERSION@
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/time.h>#include <sys/types.h>#include <stdint.h>#include <unistd.h>#include "config.h"#include "cliserv.h"#include "nbd.h"Go to the source code of this file.
Functions | |
| static void | doread (int f, void *buf, size_t len) |
| int | main (int argc, char **argv) |
|
inlinestatic |
Definition at line 21 of file nbd-trdump.c.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 36 of file nbd-trdump.c.
References doread(), nbd_reply::error, nbd_request::from, handle, nbd_request::handle, nbd_reply::handle, len, nbd_request::len, magic, NBD_CMD_DISC, NBD_CMD_FLAG_FUA, NBD_CMD_FLUSH, NBD_CMD_MASK_COMMAND, NBD_CMD_READ, NBD_CMD_WRITE, NBD_REPLY_MAGIC, NBD_REQUEST_MAGIC, ntohll(), PACKAGE_VERSION, and nbd_request::type.
1.8.8