Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
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
 

Macros

#define XS_WRITE_NONE   "NONE"
 
#define XS_WRITE_CREATE   "CREATE"
 
#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"
 
#define XSD_ERROR(x)   { x, #x }
 
#define XENSTORE_RING_SIZE   1024
 
#define MASK_XENSTORE_IDX(idx)   ((idx) & (XENSTORE_RING_SIZE-1))
 
#define XENSTORE_PAYLOAD_MAX   4096
 

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 }
 

Macro Definition Documentation

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

Definition at line 83 of file xs_wire.h.

#define XENSTORE_PAYLOAD_MAX   4096

Definition at line 92 of file xs_wire.h.

#define XENSTORE_RING_SIZE   1024

Definition at line 81 of file xs_wire.h.

#define XS_WRITE_CREATE   "CREATE"

Definition at line 37 of file xs_wire.h.

#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"

Definition at line 38 of file xs_wire.h.

#define XS_WRITE_NONE   "NONE"

Definition at line 36 of file xs_wire.h.

#define XSD_ERROR (   x)    { x, #x }

Definition at line 46 of file xs_wire.h.

Typedef Documentation

Definition at line 82 of file xs_wire.h.

Enumeration Type Documentation

Enumerator:
XS_WATCH_PATH 
XS_WATCH_TOKEN 

Definition at line 74 of file xs_wire.h.

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 10 of file xs_wire.h.