rpms/mISDN/EL-5 mISDNdebugtool.h,NONE,1.1

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Thu Dec 20 20:51:28 UTC 2007


Author: jcollie

Update of /cvs/pkgs/rpms/mISDN/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23937

Added Files:
	mISDNdebugtool.h 
Log Message:
Update to the latest in devel


--- NEW FILE mISDNdebugtool.h ---
#ifndef __mISDNdebugtool_H__
#define __mISDNdebugtool_H__

/*
 * 0        8        16       24      31
 * +--------+--------+--------+--------+
 * |  vers  |  type  |    reserved     +
 * +--------+--------+--------+--------+
 * |         stack identifier          +
 * +--------+--------+--------+--------+
 * |        seconds since epoch        |
 * +--------+--------+--------+--------+
 * |            nanoseconds            |
 * +--------+--------+--------+--------+
 * |          payload length           |
 * +--------+--------+--------+--------+
 */

enum mISDN_dt_type {

	D_RX = 1,  /* payload: copy of dchannel payload */
	D_TX,      /* payload: copy of dchannel payload */

	L1_UP,     /* no payload */
	L1_DOWN,   /* no payload */

	CRC_ERR,   /* no payload */

	NEWSTATE,  /* payload: state-id (uint) :: message (NULL-terminated charstring)
	              thrown by: hfcmulti */
};

typedef struct mISDN_dt_header {
	unsigned char version;
	unsigned char type;
	unsigned short reserved;
	unsigned int stack_id;
	unsigned int stack_protocol;
	struct timespec time;
	unsigned int plength;
} mISDN_dt_header_t;

#endif





More information about the fedora-extras-commits mailing list