The nbd Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The nbd Reference Manual

This is the nbd Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Wed Nov 04 14:36:46 2020 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

nbd

This is a Network Block Device (aka nbd) library. This implements most of the NBD protocol in order to let you write custom NBD servers.

Example

A simple example is shown in simple-in-memory/. It is showing an in-memory NBD server for a 100MB block device.

A minimal example would be:

(defvar *export-name* "test")
(defvar *export-size* (* 500 1024 1024))

;; The actual block device data!
(defvar *data* (make-array *export-size* :element-type '(unsigned-byte 8)))

(defun main (path)
  (nbd/api:wait (nbd/api:start #'on-request path *export-name* *export-size* nil)))

(defun on-request (type flags handle offset length stream start-reply)
  (declare (ignore flags handle))
  (case type
    (:read
     (funcall start-reply)
     (write-sequence *data* stream :start offset :end (+ offset length)))
    (:write
     (read-sequence *data* stream :start offset :end (+ offset length))
     (funcall start-reply)))
  (finish-output stream))

After running (main "/tmp/test.sock"), you can use nbd-client -unix /tmp/test.sock /dev/nbd0 -name test to setup the NBD device.

[root@host ~]# nbd-client -unix /tmp/test.sock /dev/nbd0 -name test
Negotiation: ..size = 500MB
Connected /dev/nbd0
[root@host ~]# fdisk -l /dev/nbd0
Disk /dev/nbd0: 500 MiB, 524288000 bytes, 1024000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Performance has not been optimized but is not terrible:

[root@host ~]# dd if=/dev/zero of=/dev/nbd0 bs=4k count=100000
100000+0 records in
100000+0 records out
409600000 bytes (410 MB, 391 MiB) copied, 2.04382 s, 200 MB/s

Current limitations

Reference

The nbd/api package exposes a few symbols:

The signature of start is as follows:

(defun start (on-request path export-name export-size supported-flags
              &optional export-description (backlog 100) (min-block-size 1)
                (preferred-block-size 4096) (max-block-size nil)))

The supported flags must be passed as a list, e.g. (list nbd/api:*read-only*). The full list of currently supported flags is:

Roadmap (one day...)

License

MIT License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 nbd

Author

Florian Margaine <florian@margaine.com>

License

MIT

Description

Network Block Device server library.

Defsystem Dependency

wild-package-inferred-system

Dependencies
Source

nbd.asd (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.2 nbd/lib/*

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.3 nbd/api

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.4 nbd/lib/server

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.5 nbd/lib/handshake

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.6 nbd/lib/options

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.7 nbd/lib/transmission

Author

Florian Margaine <florian@margaine.com>

License

MIT

Dependencies
Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Systems   [Contents][Index]

2.8 nbd/lib/shared

Author

Florian Margaine <florian@margaine.com>

License

MIT

Source

nbd.asd (file)

Component

lisp.lisp (file)


Previous: , Up: Systems   [Contents][Index]

2.9 nbd/lib/transmission-flags

Author

Florian Margaine <florian@margaine.com>

License

MIT

Source

nbd.asd (file)

Component

lisp.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 nbd.asd

Location

nbd.asd

Systems

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 nbd/lib/*/lisp.lisp

Parent

nbd/lib/* (system)

Location

/home/quickref/.cache/common-lisp/sbcl-1.5.8-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/nbd-20200925-git/__WILD_SYSTEM__/nbd_SL_lib_SL_WILD.lisp

Packages

nbd/lib/*


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 nbd/api/lisp.lisp

Parent

nbd/api (system)

Location

api.lisp

Packages

nbd/api


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 nbd/lib/server/lisp.lisp

Parent

nbd/lib/server (system)

Location

lib/server.lisp

Packages

nbd/lib/server

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 nbd/lib/handshake/lisp.lisp

Parent

nbd/lib/handshake (system)

Location

lib/handshake.lisp

Packages

nbd/lib/handshake

Exported Definitions

handshake (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 nbd/lib/options/lisp.lisp

Parent

nbd/lib/options (system)

Location

lib/options.lisp

Packages

nbd/lib/options

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 nbd/lib/transmission/lisp.lisp

Parent

nbd/lib/transmission (system)

Location

lib/transmission.lisp

Packages

nbd/lib/transmission

Exported Definitions

transmission (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 nbd/lib/shared/lisp.lisp

Parent

nbd/lib/shared (system)

Location

lib/shared.lisp

Packages

nbd/lib/shared

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.9 nbd/lib/transmission-flags/lisp.lisp

Parent

nbd/lib/transmission-flags (system)

Location

lib/transmission-flags.lisp

Packages

nbd/lib/transmission-flags

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 nbd/lib/*

Source

lisp.lisp (file)

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

4.2 nbd/api

Source

lisp.lisp (file)

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

4.3 nbd/lib/server

Source

lisp.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.4 nbd/lib/handshake

Source

lisp.lisp (file)

Use List
Used By List
Exported Definitions

handshake (function)

Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.5 nbd/lib/options

Source

lisp.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.6 nbd/lib/transmission

Source

lisp.lisp (file)

Use List
Used By List
Exported Definitions

transmission (function)

Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

4.7 nbd/lib/shared

Source

lisp.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions

Previous: , Up: Packages   [Contents][Index]

4.8 nbd/lib/transmission-flags

Source

lisp.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *can-multi-conn*

Currently unsupported. Resources are shared across clients. Influences the behavior of CMD_FLUSH and CMD_FLAG_FUA on the server side.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *debug-mode*
Package

nbd/lib/server

Source

lisp.lisp (file)

Special Variable: *has-flags*

Is always be set by the server.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *read-only*

If the export is read-only. The server will always return EPERM on writes if set.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *rotational*

Has rotational disk characteristics, IOW doesn’t do random access.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-cache*

Currently unsupported. Supports CMD_CACHE, aka posix_fadvise().

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-df*

Currently unsupported. Supports CMD_FLAG_DF.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-fast-zero*

Currently unsupported. Supports CMD_FLAG_FAST_ZERO.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-flush*

Supports CMD_FLUSH. The server must flush all data to persistent storage before replying.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-fua*

Supports CMD_FLAG_FUA. The server must flush all data to persistent storage before handling the request.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-resize*

Currently unsupported. Supports resizing.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-trim*

Supports CMD_TRIM. This is a hint that the server can discard the data.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)

Special Variable: *send-write-zeroes*

Currently unsupported. Supports CMD_WRITE_ZEROES and CMD_FLAG_NO_HOLE.

Package

nbd/lib/transmission-flags

Source

lisp.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Functions

Function: handshake SERVER CLIENT
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: read-option STREAM
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply-error OPTION STREAM ERROR
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: start ON-REQUEST PATH EXPORT-NAME EXPORT-SIZE SUPPORTED-FLAGS &optional EXPORT-DESCRIPTION BACKLOG MIN-BLOCK-SIZE PREFERRED-BLOCK-SIZE MAX-BLOCK-SIZE
Package

nbd/lib/server

Source

lisp.lisp (file)

Function: transmission SERVER CLIENT
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: wait SERVER
Package

nbd/lib/server

Source

lisp.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Generic functions

Generic Function: client-fixed-newstyle OBJECT
Generic Function: (setf client-fixed-newstyle) NEW-VALUE OBJECT
Package

nbd/lib/shared

Methods
Method: client-fixed-newstyle (CLIENT client)

automatically generated reader method

Source

lisp.lisp (file)

Method: (setf client-fixed-newstyle) NEW-VALUE (CLIENT client)

automatically generated writer method

Source

lisp.lisp (file)

Generic Function: client-no-zeroes OBJECT
Generic Function: (setf client-no-zeroes) NEW-VALUE OBJECT
Package

nbd/lib/shared

Methods
Method: client-no-zeroes (CLIENT client)

automatically generated reader method

Source

lisp.lisp (file)

Method: (setf client-no-zeroes) NEW-VALUE (CLIENT client)

automatically generated writer method

Source

lisp.lisp (file)

Generic Function: client-socket OBJECT
Package

nbd/lib/shared

Methods
Method: client-socket (CLIENT client)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: client-stream OBJECT
Package

nbd/lib/shared

Methods
Method: client-stream (CLIENT client)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: info-name OBJECT
Package

nbd/lib/options

Methods
Method: info-name (INFO info)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: info-requests OBJECT
Package

nbd/lib/options

Methods
Method: info-requests (INFO info)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: option-type OBJECT
Package

nbd/lib/options

Methods
Method: option-type (OPTION option)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: option-value OBJECT
Package

nbd/lib/options

Methods
Method: option-value (OPTION option)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: reply OPTION STREAM TYPE &optional DATA

Implements replies to options.

Package

nbd/lib/options

Source

lisp.lisp (file)

Methods
Method: reply (G1 option) STREAM (G0 (eql info)) &optional TUPLE
Method: reply (G1 option) STREAM (G0 (eql server)) &optional EXPORT-NAME
Method: reply (G1 option) STREAM (G0 (eql ack)) &optional G2
Generic Function: server-accept-thread OBJECT
Generic Function: (setf server-accept-thread) NEW-VALUE OBJECT
Package

nbd/lib/shared

Methods
Method: server-accept-thread (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Method: (setf server-accept-thread) NEW-VALUE (SERVER server)

automatically generated writer method

Source

lisp.lisp (file)

Generic Function: server-export-description OBJECT
Package

nbd/lib/shared

Methods
Method: server-export-description (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-export-name OBJECT
Package

nbd/lib/shared

Methods
Method: server-export-name (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-export-size OBJECT
Package

nbd/lib/shared

Methods
Method: server-export-size (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-max-block-size OBJECT
Package

nbd/lib/shared

Methods
Method: server-max-block-size (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-min-block-size OBJECT
Package

nbd/lib/shared

Methods
Method: server-min-block-size (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-on-request OBJECT
Package

nbd/lib/shared

Methods
Method: server-on-request (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-preferred-block-size OBJECT
Package

nbd/lib/shared

Methods
Method: server-preferred-block-size (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-socket OBJECT
Package

nbd/lib/shared

Methods
Method: server-socket (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-stream OBJECT
Package

nbd/lib/shared

Methods
Method: server-stream (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)

Generic Function: server-supported-flags OBJECT
Package

nbd/lib/shared

Methods
Method: server-supported-flags (SERVER server)

automatically generated reader method

Source

lisp.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Structures

Structure: reply ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: magic
Type

(unsigned-byte 64)

Initform

1100100111001001

Readers

reply-magic (function)

Writers

(setf reply-magic) (function)

Slot: option-type
Type

(unsigned-byte 32)

Initform

0

Readers

reply-option-type (function)

Writers

(setf reply-option-type) (function)

Slot: reply-type
Type

(unsigned-byte 32)

Initform

0

Readers

reply-reply-type (function)

Writers

(setf reply-reply-type) (function)

Slot: data
Type

(simple-array (unsigned-byte 8))

Initform

(make-array 0 :element-type (quote (unsigned-byte 8)))

Readers

reply-data (function)

Writers

(setf reply-data) (function)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Classes

Class: client ()
Package

nbd/lib/shared

Source

lisp.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

client-socket (generic function)

Slot: stream
Initargs

:stream

Readers

client-stream (generic function)

Slot: fixed-newstyle
Initform

t

Readers

client-fixed-newstyle (generic function)

Writers

(setf client-fixed-newstyle) (generic function)

Slot: no-zeroes
Initform

t

Readers

client-no-zeroes (generic function)

Writers

(setf client-no-zeroes) (generic function)

Class: server ()
Package

nbd/lib/shared

Source

lisp.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

server-socket (generic function)

Slot: stream
Initargs

:stream

Readers

server-stream (generic function)

Slot: export-name
Initargs

:export-name

Readers

server-export-name (generic function)

Slot: export-description
Initargs

:export-description

Readers

server-export-description (generic function)

Slot: export-size
Initargs

:export-size

Readers

server-export-size (generic function)

Slot: min-block-size
Initargs

:min-block-size

Readers

server-min-block-size (generic function)

Slot: preferred-block-size
Initargs

:preferred-block-size

Readers

server-preferred-block-size (generic function)

Slot: max-block-size
Initargs

:max-block-size

Readers

server-max-block-size (generic function)

Slot: supported-flags
Initargs

:supported-flags

Readers

server-supported-flags (generic function)

Slot: on-request
Initargs

:on-request

Readers

server-on-request (generic function)

Slot: accept-thread
Readers

server-accept-thread (generic function)

Writers

(setf server-accept-thread) (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *command-flags*
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Special Variable: *error-reply-types*
Package

nbd/lib/options

Source

lisp.lisp (file)

Special Variable: *errors*
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Special Variable: *info-types*
Package

nbd/lib/options

Source

lisp.lisp (file)

Special Variable: *nbd-flag-fixed-newstyle*
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Special Variable: *nbd-flag-no-zeroes*
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Special Variable: *options-types*
Package

nbd/lib/options

Source

lisp.lisp (file)

Special Variable: *reply-types*
Package

nbd/lib/options

Source

lisp.lisp (file)

Special Variable: *request-types*
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Special Variable: *unsupported-flags*
Package

nbd/lib/server

Source

lisp.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: defreply TYPE (TYPE-VALUE OPTION-VALUE STREAM &optional DATA) &body BODY
Package

nbd/lib/options

Source

lisp.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: %opt-info-and-go-name INSTANCE
Function: (setf %opt-info-and-go-name) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %opt-info-and-go-p OBJECT
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %opt-info-and-go-requests INSTANCE
Function: (setf %opt-info-and-go-requests) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %opt-info-and-go-requests-count INSTANCE
Function: (setf %opt-info-and-go-requests-count) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %option-data INSTANCE
Function: (setf %option-data) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %option-magic INSTANCE
Function: (setf %option-magic) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %option-p OBJECT
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %option-type INSTANCE
Function: (setf %option-type) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: %reply-error-code INSTANCE
Function: (setf %reply-error-code) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %reply-handle INSTANCE
Function: (setf %reply-handle) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %reply-magic INSTANCE
Function: (setf %reply-magic) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %reply-p OBJECT
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-command-flags INSTANCE
Function: (setf %request-command-flags) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-handle INSTANCE
Function: (setf %request-handle) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-length INSTANCE
Function: (setf %request-length) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-magic INSTANCE
Function: (setf %request-magic) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-offset INSTANCE
Function: (setf %request-offset) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-p OBJECT
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: %request-type INSTANCE
Function: (setf %request-type) VALUE INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: casted-value TYPE DATA
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: client-handshake-flags INSTANCE
Function: (setf client-handshake-flags) VALUE INSTANCE
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: client-handshake-p OBJECT
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: copy-%opt-info-and-go INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: copy-%option INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: copy-%reply INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: copy-%request INSTANCE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: copy-client-handshake INSTANCE
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: copy-reply INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: copy-server-handshake INSTANCE
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: copy-server-reply INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: flag-value KEYWORD
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: handshake-export-name SERVER CLIENT STREAM
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: handshake-fixed-newstyle SERVER CLIENT STREAM
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: handshake-newstyle SERVER CLIENT STREAM
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: integer-to-keyword %OPTION
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: keyword-to-integer OPTION
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: make-%opt-info-and-go &key (NAME NAME) (REQUESTS-COUNT REQUESTS-COUNT) (REQUESTS REQUESTS)
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: make-%option &key (MAGIC MAGIC) (TYPE TYPE) (DATA DATA)
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: make-%reply &key (MAGIC MAGIC) (ERROR-CODE ERROR-CODE) (HANDLE HANDLE)
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: make-%request &key (MAGIC MAGIC) (COMMAND-FLAGS COMMAND-FLAGS) (TYPE TYPE) (HANDLE HANDLE) (OFFSET OFFSET) (LENGTH LENGTH)
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: make-client-handshake &key (FLAGS FLAGS)
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: make-reply &key (MAGIC MAGIC) (OPTION-TYPE OPTION-TYPE) (REPLY-TYPE REPLY-TYPE) (DATA DATA)
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: make-server-handshake &key (MAGIC MAGIC) (I-HAVE-OPT I-HAVE-OPT)
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: make-server-reply &key (DATA DATA)
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply STREAM ERROR-CODE HANDLE
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Function: reply-data INSTANCE
Function: (setf reply-data) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply-info-block-size OPTION STREAM SERVER
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: reply-info-export OPTION STREAM SERVER
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: reply-magic INSTANCE
Function: (setf reply-magic) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply-option-type INSTANCE
Function: (setf reply-option-type) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply-p OBJECT
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: reply-reply-type INSTANCE
Function: (setf reply-reply-type) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: server-handshake-i-have-opt INSTANCE
Function: (setf server-handshake-i-have-opt) VALUE INSTANCE
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: server-handshake-magic INSTANCE
Function: (setf server-handshake-magic) VALUE INSTANCE
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: server-handshake-p OBJECT
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: server-reply-data INSTANCE
Function: (setf server-reply-data) VALUE INSTANCE
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: server-reply-p OBJECT
Package

nbd/lib/options

Source

lisp.lisp (file)

Function: validate-export-name SERVER NAME
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Function: validate-request SERVER REQUEST
Package

nbd/lib/transmission

Source

lisp.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Generic functions

Generic Function: accept-loop SERVER
Package

nbd/lib/server

Methods
Method: accept-loop (SERVER server)
Source

lisp.lisp (file)

Generic Function: handle-client-socket SERVER CLIENT
Package

nbd/lib/server

Methods
Method: handle-client-socket (SERVER server) CLIENT
Source

lisp.lisp (file)

Generic Function: validation-error-code CONDITION
Package

nbd/lib/transmission

Methods
Method: validation-error-code (CONDITION validation-error)
Source

lisp.lisp (file)

Generic Function: validation-error-message CONDITION
Package

nbd/lib/transmission

Methods
Method: validation-error-message (CONDITION validation-error)
Source

lisp.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Conditions

Condition: validation-error ()
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: error-code
Initargs

:error-code

Initform

(quote :einval)

Readers

validation-error-code (generic function)

Slot: message
Initargs

:message

Initform

(quote "")

Readers

validation-error-message (generic function)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Structures

Structure: %opt-info-and-go ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: name
Type

string

Initform

""

Readers

%opt-info-and-go-name (function)

Writers

(setf %opt-info-and-go-name) (function)

Slot: requests-count
Type

(unsigned-byte 16)

Initform

0

Readers

%opt-info-and-go-requests-count (function)

Writers

(setf %opt-info-and-go-requests-count) (function)

Slot: requests
Type

(simple-array (unsigned-byte 16))

Initform

(make-array 0 :element-type (quote (unsigned-byte 16)))

Readers

%opt-info-and-go-requests (function)

Writers

(setf %opt-info-and-go-requests) (function)

Structure: %option ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: magic
Type

(unsigned-byte 64)

Initform

5280542401877725268

Readers

%option-magic (function)

Writers

(setf %option-magic) (function)

Slot: type
Type

(unsigned-byte 32)

Initform

0

Readers

%option-type (function)

Writers

(setf %option-type) (function)

Slot: data
Type

(simple-array (unsigned-byte 8))

Initform

(make-array 0 :element-type (quote (unsigned-byte 8)))

Readers

%option-data (function)

Writers

(setf %option-data) (function)

Structure: %reply ()
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: magic
Type

(unsigned-byte 32)

Initform

1732535960

Readers

%reply-magic (function)

Writers

(setf %reply-magic) (function)

Slot: error-code
Type

(unsigned-byte 32)

Initform

0

Readers

%reply-error-code (function)

Writers

(setf %reply-error-code) (function)

Slot: handle
Type

(unsigned-byte 64)

Initform

0

Readers

%reply-handle (function)

Writers

(setf %reply-handle) (function)

Structure: %request ()
Package

nbd/lib/transmission

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: magic
Type

(unsigned-byte 32)

Initform

627086611

Readers

%request-magic (function)

Writers

(setf %request-magic) (function)

Slot: command-flags
Type

(unsigned-byte 16)

Initform

0

Readers

%request-command-flags (function)

Writers

(setf %request-command-flags) (function)

Slot: type
Type

(unsigned-byte 16)

Initform

0

Readers

%request-type (function)

Writers

(setf %request-type) (function)

Slot: handle
Type

(unsigned-byte 64)

Initform

0

Readers

%request-handle (function)

Writers

(setf %request-handle) (function)

Slot: offset
Type

(unsigned-byte 64)

Initform

0

Readers

%request-offset (function)

Writers

(setf %request-offset) (function)

Slot: length
Type

(unsigned-byte 32)

Initform

0

Readers

%request-length (function)

Writers

(setf %request-length) (function)

Structure: client-handshake ()
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: flags
Type

(unsigned-byte 32)

Initform

0

Readers

client-handshake-flags (function)

Writers

(setf client-handshake-flags) (function)

Structure: server-handshake ()
Package

nbd/lib/handshake

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: magic
Type

(unsigned-byte 64)

Initform

5639144782019643715

Readers

server-handshake-magic (function)

Writers

(setf server-handshake-magic) (function)

Slot: i-have-opt
Type

(unsigned-byte 64)

Initform

5280542401877725268

Readers

server-handshake-i-have-opt (function)

Writers

(setf server-handshake-i-have-opt) (function)

Structure: server-reply ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

write-binary (method)

Direct slots
Slot: data
Type

(simple-array (unsigned-byte 8))

Initform

(make-array 0 :element-type (quote (unsigned-byte 8)))

Readers

server-reply-data (function)

Writers

(setf server-reply-data) (function)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.7 Classes

Class: info ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

info-name (generic function)

Slot: requests
Initargs

:requests

Readers

info-requests (generic function)

Class: option ()
Package

nbd/lib/options

Source

lisp.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: type
Initargs

:type

Readers

option-type (generic function)

Slot: value
Initargs

:value

Readers

option-value (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   N  
Index Entry  Section

F
File, Lisp, nbd.asd: The nbd․asd file
File, Lisp, nbd/api/lisp.lisp: The nbd/api/lisp․lisp file
File, Lisp, nbd/lib/*/lisp.lisp: The nbd/lib/*/lisp․lisp file
File, Lisp, nbd/lib/handshake/lisp.lisp: The nbd/lib/handshake/lisp․lisp file
File, Lisp, nbd/lib/options/lisp.lisp: The nbd/lib/options/lisp․lisp file
File, Lisp, nbd/lib/server/lisp.lisp: The nbd/lib/server/lisp․lisp file
File, Lisp, nbd/lib/shared/lisp.lisp: The nbd/lib/shared/lisp․lisp file
File, Lisp, nbd/lib/transmission-flags/lisp.lisp: The nbd/lib/transmission-flags/lisp․lisp file
File, Lisp, nbd/lib/transmission/lisp.lisp: The nbd/lib/transmission/lisp․lisp file

L
Lisp File, nbd.asd: The nbd․asd file
Lisp File, nbd/api/lisp.lisp: The nbd/api/lisp․lisp file
Lisp File, nbd/lib/*/lisp.lisp: The nbd/lib/*/lisp․lisp file
Lisp File, nbd/lib/handshake/lisp.lisp: The nbd/lib/handshake/lisp․lisp file
Lisp File, nbd/lib/options/lisp.lisp: The nbd/lib/options/lisp․lisp file
Lisp File, nbd/lib/server/lisp.lisp: The nbd/lib/server/lisp․lisp file
Lisp File, nbd/lib/shared/lisp.lisp: The nbd/lib/shared/lisp․lisp file
Lisp File, nbd/lib/transmission-flags/lisp.lisp: The nbd/lib/transmission-flags/lisp․lisp file
Lisp File, nbd/lib/transmission/lisp.lisp: The nbd/lib/transmission/lisp․lisp file

N
nbd.asd: The nbd․asd file
nbd/api/lisp.lisp: The nbd/api/lisp․lisp file
nbd/lib/*/lisp.lisp: The nbd/lib/*/lisp․lisp file
nbd/lib/handshake/lisp.lisp: The nbd/lib/handshake/lisp․lisp file
nbd/lib/options/lisp.lisp: The nbd/lib/options/lisp․lisp file
nbd/lib/server/lisp.lisp: The nbd/lib/server/lisp․lisp file
nbd/lib/shared/lisp.lisp: The nbd/lib/shared/lisp․lisp file
nbd/lib/transmission-flags/lisp.lisp: The nbd/lib/transmission-flags/lisp․lisp file
nbd/lib/transmission/lisp.lisp: The nbd/lib/transmission/lisp․lisp file

Jump to:   F   L   N  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   C   D   F   G   H   I   K   M   O   R   S   T   V   W  
Index Entry  Section

%
%opt-info-and-go-name: Internal functions
%opt-info-and-go-p: Internal functions
%opt-info-and-go-requests: Internal functions
%opt-info-and-go-requests-count: Internal functions
%option-data: Internal functions
%option-magic: Internal functions
%option-p: Internal functions
%option-type: Internal functions
%reply-error-code: Internal functions
%reply-handle: Internal functions
%reply-magic: Internal functions
%reply-p: Internal functions
%request-command-flags: Internal functions
%request-handle: Internal functions
%request-length: Internal functions
%request-magic: Internal functions
%request-offset: Internal functions
%request-p: Internal functions
%request-type: Internal functions

(
(setf %opt-info-and-go-name): Internal functions
(setf %opt-info-and-go-requests): Internal functions
(setf %opt-info-and-go-requests-count): Internal functions
(setf %option-data): Internal functions
(setf %option-magic): Internal functions
(setf %option-type): Internal functions
(setf %reply-error-code): Internal functions
(setf %reply-handle): Internal functions
(setf %reply-magic): Internal functions
(setf %request-command-flags): Internal functions
(setf %request-handle): Internal functions
(setf %request-length): Internal functions
(setf %request-magic): Internal functions
(setf %request-offset): Internal functions
(setf %request-type): Internal functions
(setf client-fixed-newstyle): Exported generic functions
(setf client-fixed-newstyle): Exported generic functions
(setf client-handshake-flags): Internal functions
(setf client-no-zeroes): Exported generic functions
(setf client-no-zeroes): Exported generic functions
(setf reply-data): Internal functions
(setf reply-magic): Internal functions
(setf reply-option-type): Internal functions
(setf reply-reply-type): Internal functions
(setf server-accept-thread): Exported generic functions
(setf server-accept-thread): Exported generic functions
(setf server-handshake-i-have-opt): Internal functions
(setf server-handshake-magic): Internal functions
(setf server-reply-data): Internal functions

A
accept-loop: Internal generic functions
accept-loop: Internal generic functions

C
casted-value: Internal functions
client-fixed-newstyle: Exported generic functions
client-fixed-newstyle: Exported generic functions
client-handshake-flags: Internal functions
client-handshake-p: Internal functions
client-no-zeroes: Exported generic functions
client-no-zeroes: Exported generic functions
client-socket: Exported generic functions
client-socket: Exported generic functions
client-stream: Exported generic functions
client-stream: Exported generic functions
copy-%opt-info-and-go: Internal functions
copy-%option: Internal functions
copy-%reply: Internal functions
copy-%request: Internal functions
copy-client-handshake: Internal functions
copy-reply: Internal functions
copy-server-handshake: Internal functions
copy-server-reply: Internal functions

D
defreply: Internal macros

F
flag-value: Internal functions
Function, %opt-info-and-go-name: Internal functions
Function, %opt-info-and-go-p: Internal functions
Function, %opt-info-and-go-requests: Internal functions
Function, %opt-info-and-go-requests-count: Internal functions
Function, %option-data: Internal functions
Function, %option-magic: Internal functions
Function, %option-p: Internal functions
Function, %option-type: Internal functions
Function, %reply-error-code: Internal functions
Function, %reply-handle: Internal functions
Function, %reply-magic: Internal functions
Function, %reply-p: Internal functions
Function, %request-command-flags: Internal functions
Function, %request-handle: Internal functions
Function, %request-length: Internal functions
Function, %request-magic: Internal functions
Function, %request-offset: Internal functions
Function, %request-p: Internal functions
Function, %request-type: Internal functions
Function, (setf %opt-info-and-go-name): Internal functions
Function, (setf %opt-info-and-go-requests): Internal functions
Function, (setf %opt-info-and-go-requests-count): Internal functions
Function, (setf %option-data): Internal functions
Function, (setf %option-magic): Internal functions
Function, (setf %option-type): Internal functions
Function, (setf %reply-error-code): Internal functions
Function, (setf %reply-handle): Internal functions
Function, (setf %reply-magic): Internal functions
Function, (setf %request-command-flags): Internal functions
Function, (setf %request-handle): Internal functions
Function, (setf %request-length): Internal functions
Function, (setf %request-magic): Internal functions
Function, (setf %request-offset): Internal functions
Function, (setf %request-type): Internal functions
Function, (setf client-handshake-flags): Internal functions
Function, (setf reply-data): Internal functions
Function, (setf reply-magic): Internal functions
Function, (setf reply-option-type): Internal functions
Function, (setf reply-reply-type): Internal functions
Function, (setf server-handshake-i-have-opt): Internal functions
Function, (setf server-handshake-magic): Internal functions
Function, (setf server-reply-data): Internal functions
Function, casted-value: Internal functions
Function, client-handshake-flags: Internal functions
Function, client-handshake-p: Internal functions
Function, copy-%opt-info-and-go: Internal functions
Function, copy-%option: Internal functions
Function, copy-%reply: Internal functions
Function, copy-%request: Internal functions
Function, copy-client-handshake: Internal functions
Function, copy-reply: Internal functions
Function, copy-server-handshake: Internal functions
Function, copy-server-reply: Internal functions
Function, flag-value: Internal functions
Function, handshake: Exported functions
Function, handshake-export-name: Internal functions
Function, handshake-fixed-newstyle: Internal functions
Function, handshake-newstyle: Internal functions
Function, integer-to-keyword: Internal functions
Function, keyword-to-integer: Internal functions
Function, make-%opt-info-and-go: Internal functions
Function, make-%option: Internal functions
Function, make-%reply: Internal functions
Function, make-%request: Internal functions
Function, make-client-handshake: Internal functions
Function, make-reply: Internal functions
Function, make-server-handshake: Internal functions
Function, make-server-reply: Internal functions
Function, read-option: Exported functions
Function, reply: Internal functions
Function, reply-data: Internal functions
Function, reply-error: Exported functions
Function, reply-info-block-size: Internal functions
Function, reply-info-export: Internal functions
Function, reply-magic: Internal functions
Function, reply-option-type: Internal functions
Function, reply-p: Internal functions
Function, reply-reply-type: Internal functions
Function, server-handshake-i-have-opt: Internal functions
Function, server-handshake-magic: Internal functions
Function, server-handshake-p: Internal functions
Function, server-reply-data: Internal functions
Function, server-reply-p: Internal functions
Function, start: Exported functions
Function, transmission: Exported functions
Function, validate-export-name: Internal functions
Function, validate-request: Internal functions
Function, wait: Exported functions

G
Generic Function, (setf client-fixed-newstyle): Exported generic functions
Generic Function, (setf client-no-zeroes): Exported generic functions
Generic Function, (setf server-accept-thread): Exported generic functions
Generic Function, accept-loop: Internal generic functions
Generic Function, client-fixed-newstyle: Exported generic functions
Generic Function, client-no-zeroes: Exported generic functions
Generic Function, client-socket: Exported generic functions
Generic Function, client-stream: Exported generic functions
Generic Function, handle-client-socket: Internal generic functions
Generic Function, info-name: Exported generic functions
Generic Function, info-requests: Exported generic functions
Generic Function, option-type: Exported generic functions
Generic Function, option-value: Exported generic functions
Generic Function, reply: Exported generic functions
Generic Function, server-accept-thread: Exported generic functions
Generic Function, server-export-description: Exported generic functions
Generic Function, server-export-name: Exported generic functions
Generic Function, server-export-size: Exported generic functions
Generic Function, server-max-block-size: Exported generic functions
Generic Function, server-min-block-size: Exported generic functions
Generic Function, server-on-request: Exported generic functions
Generic Function, server-preferred-block-size: Exported generic functions
Generic Function, server-socket: Exported generic functions
Generic Function, server-stream: Exported generic functions
Generic Function, server-supported-flags: Exported generic functions
Generic Function, validation-error-code: Internal generic functions
Generic Function, validation-error-message: Internal generic functions

H
handle-client-socket: Internal generic functions
handle-client-socket: Internal generic functions
handshake: Exported functions
handshake-export-name: Internal functions
handshake-fixed-newstyle: Internal functions
handshake-newstyle: Internal functions

I
info-name: Exported generic functions
info-name: Exported generic functions
info-requests: Exported generic functions
info-requests: Exported generic functions
integer-to-keyword: Internal functions

K
keyword-to-integer: Internal functions

M
Macro, defreply: Internal macros
make-%opt-info-and-go: Internal functions
make-%option: Internal functions
make-%reply: Internal functions
make-%request: Internal functions
make-client-handshake: Internal functions
make-reply: Internal functions
make-server-handshake: Internal functions
make-server-reply: Internal functions
Method, (setf client-fixed-newstyle): Exported generic functions
Method, (setf client-no-zeroes): Exported generic functions
Method, (setf server-accept-thread): Exported generic functions
Method, accept-loop: Internal generic functions
Method, client-fixed-newstyle: Exported generic functions
Method, client-no-zeroes: Exported generic functions
Method, client-socket: Exported generic functions
Method, client-stream: Exported generic functions
Method, handle-client-socket: Internal generic functions
Method, info-name: Exported generic functions
Method, info-requests: Exported generic functions
Method, option-type: Exported generic functions
Method, option-value: Exported generic functions
Method, reply: Exported generic functions
Method, reply: Exported generic functions
Method, reply: Exported generic functions
Method, server-accept-thread: Exported generic functions
Method, server-export-description: Exported generic functions
Method, server-export-name: Exported generic functions
Method, server-export-size: Exported generic functions
Method, server-max-block-size: Exported generic functions
Method, server-min-block-size: Exported generic functions
Method, server-on-request: Exported generic functions
Method, server-preferred-block-size: Exported generic functions
Method, server-socket: Exported generic functions
Method, server-stream: Exported generic functions
Method, server-supported-flags: Exported generic functions
Method, validation-error-code: Internal generic functions
Method, validation-error-message: Internal generic functions

O
option-type: Exported generic functions
option-type: Exported generic functions
option-value: Exported generic functions
option-value: Exported generic functions

R
read-option: Exported functions
reply: Exported generic functions
reply: Exported generic functions
reply: Exported generic functions
reply: Exported generic functions
reply: Internal functions
reply-data: Internal functions
reply-error: Exported functions
reply-info-block-size: Internal functions
reply-info-export: Internal functions
reply-magic: Internal functions
reply-option-type: Internal functions
reply-p: Internal functions
reply-reply-type: Internal functions

S
server-accept-thread: Exported generic functions
server-accept-thread: Exported generic functions
server-export-description: Exported generic functions
server-export-description: Exported generic functions
server-export-name: Exported generic functions
server-export-name: Exported generic functions
server-export-size: Exported generic functions
server-export-size: Exported generic functions
server-handshake-i-have-opt: Internal functions
server-handshake-magic: Internal functions
server-handshake-p: Internal functions
server-max-block-size: Exported generic functions
server-max-block-size: Exported generic functions
server-min-block-size: Exported generic functions
server-min-block-size: Exported generic functions
server-on-request: Exported generic functions
server-on-request: Exported generic functions
server-preferred-block-size: Exported generic functions
server-preferred-block-size: Exported generic functions
server-reply-data: Internal functions
server-reply-p: Internal functions
server-socket: Exported generic functions
server-socket: Exported generic functions
server-stream: Exported generic functions
server-stream: Exported generic functions
server-supported-flags: Exported generic functions
server-supported-flags: Exported generic functions
start: Exported functions

T
transmission: Exported functions

V
validate-export-name: Internal functions
validate-request: Internal functions
validation-error-code: Internal generic functions
validation-error-code: Internal generic functions
validation-error-message: Internal generic functions
validation-error-message: Internal generic functions

W
wait: Exported functions

Jump to:   %   (  
A   C   D   F   G   H   I   K   M   O   R   S   T   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   C   D   E   F   H   I   L   M   N   O   P   R   S   T   V  
Index Entry  Section

*
*can-multi-conn*: Exported special variables
*command-flags*: Internal special variables
*debug-mode*: Exported special variables
*error-reply-types*: Internal special variables
*errors*: Internal special variables
*has-flags*: Exported special variables
*info-types*: Internal special variables
*nbd-flag-fixed-newstyle*: Internal special variables
*nbd-flag-no-zeroes*: Internal special variables
*options-types*: Internal special variables
*read-only*: Exported special variables
*reply-types*: Internal special variables
*request-types*: Internal special variables
*rotational*: Exported special variables
*send-cache*: Exported special variables
*send-df*: Exported special variables
*send-fast-zero*: Exported special variables
*send-flush*: Exported special variables
*send-fua*: Exported special variables
*send-resize*: Exported special variables
*send-trim*: Exported special variables
*send-write-zeroes*: Exported special variables
*unsupported-flags*: Internal special variables

A
accept-thread: Exported classes

C
command-flags: Internal structures

D
data: Exported structures
data: Internal structures
data: Internal structures

E
error-code: Internal conditions
error-code: Internal structures
export-description: Exported classes
export-name: Exported classes
export-size: Exported classes

F
fixed-newstyle: Exported classes
flags: Internal structures

H
handle: Internal structures
handle: Internal structures

I
i-have-opt: Internal structures

L
length: Internal structures

M
magic: Exported structures
magic: Internal structures
magic: Internal structures
magic: Internal structures
magic: Internal structures
max-block-size: Exported classes
message: Internal conditions
min-block-size: Exported classes

N
name: Internal structures
name: Internal classes
no-zeroes: Exported classes

O
offset: Internal structures
on-request: Exported classes
option-type: Exported structures

P
preferred-block-size: Exported classes

R
reply-type: Exported structures
requests: Internal structures
requests: Internal classes
requests-count: Internal structures

S
Slot, accept-thread: Exported classes
Slot, command-flags: Internal structures
Slot, data: Exported structures
Slot, data: Internal structures
Slot, data: Internal structures
Slot, error-code: Internal conditions
Slot, error-code: Internal structures
Slot, export-description: Exported classes
Slot, export-name: Exported classes
Slot, export-size: Exported classes
Slot, fixed-newstyle: Exported classes
Slot, flags: Internal structures
Slot, handle: Internal structures
Slot, handle: Internal structures
Slot, i-have-opt: Internal structures
Slot, length: Internal structures
Slot, magic: Exported structures
Slot, magic: Internal structures
Slot, magic: Internal structures
Slot, magic: Internal structures
Slot, magic: Internal structures
Slot, max-block-size: Exported classes
Slot, message: Internal conditions
Slot, min-block-size: Exported classes
Slot, name: Internal structures
Slot, name: Internal classes
Slot, no-zeroes: Exported classes
Slot, offset: Internal structures
Slot, on-request: Exported classes
Slot, option-type: Exported structures
Slot, preferred-block-size: Exported classes
Slot, reply-type: Exported structures
Slot, requests: Internal structures
Slot, requests: Internal classes
Slot, requests-count: Internal structures
Slot, socket: Exported classes
Slot, socket: Exported classes
Slot, stream: Exported classes
Slot, stream: Exported classes
Slot, supported-flags: Exported classes
Slot, type: Internal structures
Slot, type: Internal structures
Slot, type: Internal classes
Slot, value: Internal classes
socket: Exported classes
socket: Exported classes
Special Variable, *can-multi-conn*: Exported special variables
Special Variable, *command-flags*: Internal special variables
Special Variable, *debug-mode*: Exported special variables
Special Variable, *error-reply-types*: Internal special variables
Special Variable, *errors*: Internal special variables
Special Variable, *has-flags*: Exported special variables
Special Variable, *info-types*: Internal special variables
Special Variable, *nbd-flag-fixed-newstyle*: Internal special variables
Special Variable, *nbd-flag-no-zeroes*: Internal special variables
Special Variable, *options-types*: Internal special variables
Special Variable, *read-only*: Exported special variables
Special Variable, *reply-types*: Internal special variables
Special Variable, *request-types*: Internal special variables
Special Variable, *rotational*: Exported special variables
Special Variable, *send-cache*: Exported special variables
Special Variable, *send-df*: Exported special variables
Special Variable, *send-fast-zero*: Exported special variables
Special Variable, *send-flush*: Exported special variables
Special Variable, *send-fua*: Exported special variables
Special Variable, *send-resize*: Exported special variables
Special Variable, *send-trim*: Exported special variables
Special Variable, *send-write-zeroes*: Exported special variables
Special Variable, *unsupported-flags*: Internal special variables
stream: Exported classes
stream: Exported classes
supported-flags: Exported classes

T
type: Internal structures
type: Internal structures
type: Internal classes

V
value: Internal classes

Jump to:   *  
A   C   D   E   F   H   I   L   M   N   O   P   R   S   T   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   %  
C   I   N   O   P   R   S   V  
Index Entry  Section

%
%opt-info-and-go: Internal structures
%option: Internal structures
%reply: Internal structures
%request: Internal structures

C
Class, client: Exported classes
Class, info: Internal classes
Class, option: Internal classes
Class, server: Exported classes
client: Exported classes
client-handshake: Internal structures
Condition, validation-error: Internal conditions

I
info: Internal classes

N
nbd: The nbd system
nbd/api: The nbd/api system
nbd/api: The nbd/api package
nbd/lib/*: The nbd/lib/* system
nbd/lib/*: The nbd/lib/* package
nbd/lib/handshake: The nbd/lib/handshake system
nbd/lib/handshake: The nbd/lib/handshake package
nbd/lib/options: The nbd/lib/options system
nbd/lib/options: The nbd/lib/options package
nbd/lib/server: The nbd/lib/server system
nbd/lib/server: The nbd/lib/server package
nbd/lib/shared: The nbd/lib/shared system
nbd/lib/shared: The nbd/lib/shared package
nbd/lib/transmission: The nbd/lib/transmission system
nbd/lib/transmission: The nbd/lib/transmission package
nbd/lib/transmission-flags: The nbd/lib/transmission-flags system
nbd/lib/transmission-flags: The nbd/lib/transmission-flags package

O
option: Internal classes

P
Package, nbd/api: The nbd/api package
Package, nbd/lib/*: The nbd/lib/* package
Package, nbd/lib/handshake: The nbd/lib/handshake package
Package, nbd/lib/options: The nbd/lib/options package
Package, nbd/lib/server: The nbd/lib/server package
Package, nbd/lib/shared: The nbd/lib/shared package
Package, nbd/lib/transmission: The nbd/lib/transmission package
Package, nbd/lib/transmission-flags: The nbd/lib/transmission-flags package

R
reply: Exported structures

S
server: Exported classes
server-handshake: Internal structures
server-reply: Internal structures
Structure, %opt-info-and-go: Internal structures
Structure, %option: Internal structures
Structure, %reply: Internal structures
Structure, %request: Internal structures
Structure, client-handshake: Internal structures
Structure, reply: Exported structures
Structure, server-handshake: Internal structures
Structure, server-reply: Internal structures
System, nbd: The nbd system
System, nbd/api: The nbd/api system
System, nbd/lib/*: The nbd/lib/* system
System, nbd/lib/handshake: The nbd/lib/handshake system
System, nbd/lib/options: The nbd/lib/options system
System, nbd/lib/server: The nbd/lib/server system
System, nbd/lib/shared: The nbd/lib/shared system
System, nbd/lib/transmission: The nbd/lib/transmission system
System, nbd/lib/transmission-flags: The nbd/lib/transmission-flags system

V
validation-error: Internal conditions

Jump to:   %  
C   I   N   O   P   R   S   V