Xen Test Framework
Data Structures | Macros | Typedefs | Enumerations | Functions
xs_wire.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xenbus_interface
 
struct  xenstore_msg_hdr
 

Macros

#define XENBUS_RING_SIZE   1024
 
#define XENBUS_SERVER_FEATURE_RECONNECTION   1
 
#define XENBUS_CONNECTED   0
 
#define XENBUS_RECONNECT   1
 
#define XENSTORE_PAYLOAD_MAX   4096
 
#define XENSTORE_ABS_PATH_MAX   3072
 
#define XENSTORE_REL_PATH_MAX   2048
 

Typedefs

typedef struct xenbus_interface xenbus_interface_t
 

Enumerations

enum  xenstore_msg_type {
  XS_CONTROL , 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_RESET_WATCHES = XS_SET_TARGET + 2 , XS_DIRECTORY_PART , XS_TYPE_COUNT , XS_INVALID = 0xffff
}
 

Functions

static uint32_t mask_xenbus_idx (uint32_t idx)
 

Macro Definition Documentation

◆ XENBUS_RING_SIZE

#define XENBUS_RING_SIZE   1024

Definition at line 6 of file xs_wire.h.

◆ XENBUS_SERVER_FEATURE_RECONNECTION

#define XENBUS_SERVER_FEATURE_RECONNECTION   1

Definition at line 22 of file xs_wire.h.

◆ XENBUS_CONNECTED

#define XENBUS_CONNECTED   0

Definition at line 24 of file xs_wire.h.

◆ XENBUS_RECONNECT

#define XENBUS_RECONNECT   1

Definition at line 25 of file xs_wire.h.

◆ XENSTORE_PAYLOAD_MAX

#define XENSTORE_PAYLOAD_MAX   4096

Definition at line 69 of file xs_wire.h.

◆ XENSTORE_ABS_PATH_MAX

#define XENSTORE_ABS_PATH_MAX   3072

Definition at line 71 of file xs_wire.h.

◆ XENSTORE_REL_PATH_MAX

#define XENSTORE_REL_PATH_MAX   2048

Definition at line 72 of file xs_wire.h.

Typedef Documentation

◆ xenbus_interface_t

Definition at line 20 of file xs_wire.h.

Enumeration Type Documentation

◆ xenstore_msg_type

Enumerator
XS_CONTROL 
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_RESET_WATCHES 
XS_DIRECTORY_PART 
XS_TYPE_COUNT 
XS_INVALID 

Definition at line 37 of file xs_wire.h.

Function Documentation

◆ mask_xenbus_idx()

static uint32_t mask_xenbus_idx ( uint32_t  idx)
inlinestatic

Definition at line 7 of file xs_wire.h.

+ Here is the caller graph for this function: