iPXE
Data Structures | Defines | Typedefs | Enumerations | Functions
xs_wire.h File Reference

Go to the source code of this file.

Data Structures

struct  xsd_errors
struct  xsd_sockmsg
struct  xenstore_domain_interface

Defines

#define XS_WRITE_NONE   "NONE"
#define XS_WRITE_CREATE   "CREATE"
#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"
#define XENSTORE_RING_SIZE   1024
#define MASK_XENSTORE_IDX(idx)   ((idx) & (XENSTORE_RING_SIZE-1))
#define XENSTORE_PAYLOAD_MAX   4096
#define XENSTORE_ABS_PATH_MAX   3072
#define XENSTORE_REL_PATH_MAX   2048

Typedefs

typedef uint32_t XENSTORE_RING_IDX

Enumerations

enum  xsd_sockmsg_type {
  XS_DEBUG, XS_DIRECTORY, XS_READ, XS_GET_PERMS,
  XS_WATCH, XS_UNWATCH, XS_TRANSACTION_START, XS_TRANSACTION_END,
  XS_INTRODUCE, XS_RELEASE, XS_GET_DOMAIN_PATH, XS_WRITE,
  XS_MKDIR, XS_RM, XS_SET_PERMS, XS_WATCH_EVENT,
  XS_ERROR, XS_IS_DOMAIN_INTRODUCED, XS_RESUME, XS_SET_TARGET,
  XS_RESTRICT, XS_RESET_WATCHES
}
enum  xs_watch_type { XS_WATCH_PATH = 0, XS_WATCH_TOKEN }

Functions

 FILE_LICENCE (MIT)

Define Documentation

#define XS_WRITE_NONE   "NONE"

Definition at line 57 of file xs_wire.h.

#define XS_WRITE_CREATE   "CREATE"

Definition at line 58 of file xs_wire.h.

#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"

Definition at line 59 of file xs_wire.h.

#define XENSTORE_RING_SIZE   1024

Definition at line 113 of file xs_wire.h.

Referenced by xenstore_send().

#define MASK_XENSTORE_IDX (   idx)    ((idx) & (XENSTORE_RING_SIZE-1))

Definition at line 115 of file xs_wire.h.

Referenced by xenstore_recv(), and xenstore_send().

#define XENSTORE_PAYLOAD_MAX   4096

Definition at line 124 of file xs_wire.h.

#define XENSTORE_ABS_PATH_MAX   3072

Definition at line 127 of file xs_wire.h.

#define XENSTORE_REL_PATH_MAX   2048

Definition at line 128 of file xs_wire.h.


Typedef Documentation

Definition at line 114 of file xs_wire.h.


Enumeration Type Documentation

Enumerator:
XS_DEBUG 
XS_DIRECTORY 
XS_READ 
XS_GET_PERMS 
XS_WATCH 
XS_UNWATCH 
XS_TRANSACTION_START 
XS_TRANSACTION_END 
XS_INTRODUCE 
XS_RELEASE 
XS_GET_DOMAIN_PATH 
XS_WRITE 
XS_MKDIR 
XS_RM 
XS_SET_PERMS 
XS_WATCH_EVENT 
XS_ERROR 
XS_IS_DOMAIN_INTRODUCED 
XS_RESUME 
XS_SET_TARGET 
XS_RESTRICT 
XS_RESET_WATCHES 

Definition at line 31 of file xs_wire.h.

Enumerator:
XS_WATCH_PATH 
XS_WATCH_TOKEN 

Definition at line 103 of file xs_wire.h.


Function Documentation

FILE_LICENCE ( MIT  )