xdasd.h File Reference

OpenXDAS xdasd internal protocol definitions header. More...

#include <xdas.h>

Go to the source code of this file.

Defines

#define MAX_XDAS_REC_SIZE   (64 * 1024)
 The maximum size in bytes of an XDAS record.
#define MAX_XDAS_MSG_SIZE   (2 * MAX_XDAS_REC_SIZE)
 The maximum size in bytes of an XDAS wire protocol message.
#define XDASD_RESERVED_PORT   7629
 The xdasd IANA-assigned reserved port.
#define XDASD_RUNPATH   "/var/run/xdasd"
 The local ipc run path.
The xdasd wire request function codes.
The wire protocol defines various wire requests.

The order and position of these request codes is important, as they must line up with the function addresses specified in the static handler table defined at the top of xdasd_net_dispatch.

#define XDASD_REQ_EVENT   0x0000
#define XDASD_REQ_FILTER   0x0001
The xdasd event handler wire request sub-function codes.
The order and position of these event request sub-function codes is also important, as they must line up with the function addresses specified in the static handler table defined at the top of xdasd_event_process.

#define XDASD_EVT_SRQ_CHECK   0x0000
#define XDASD_EVT_SRQ_SUBMIT   0x0001
#define XDASD_EVT_SRQ_CHECK_AND_SUBMIT   0x0002


Detailed Description

OpenXDAS xdasd internal protocol definitions header.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file xdasd.h.


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6