Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Header components

In the message header file ( /att/include/mesg.h ), the voice system defines the header structure of IPC messages for DIPs and voice system processes. The following example shows the header structure for these IPC messages.

struct mbhdr {
long mtype; /* Message type */
short irType; /* Source type for message */
ir_key_t irWhoto;/* Destination queue or channel owner */
long irChan; /* Channel number */
long mchan; /* Channel number */
short morig; /* Sender's Qkey */
short mcont; /* Message id */
unsigned short mseqno; /* Message sequence number */
};

The fields in the header structure are as follows:

© 2006 Avaya Inc. All Rights Reserved.