⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strioc.h

📁 VRTX 商用嵌入式实时操作系统
💻 H
字号:
/***************************************************************************
*
*               Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
*       All rights reserved. READY SYSTEMS' source code is an unpublished
*       work and the use of a copyright notice does not imply otherwise.
*       This source code contains confidential, trade secret material of
*       READY SYSTEMS. Any attempt or participation in deciphering, decoding,
*       reverse engineering or in any way altering the source code is
*       strictly prohibited, unless the prior written consent of
*       READY SYSTEMS is obtained.
*
*
*       Module Name:            %M%
*
*       Identification:         %Z% %I% %M%
*
*       Date:                   %G%  %U%
*
****************************************************************************
*/

/*
 RCS header identifier - $Id: strioc.h,v 1.5 1993/10/05 18:08:29 robert Exp $
*/
/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1987-1993 Lachman Technology, Incorporated
 * All rights reserved.
 * 
 * RESTRICTED RIGHTS
 * 
 * These programs are supplied under a license.  They may be used,
 * disclosed, and/or copied only as permitted under such license
 * agreement.  Any copy must contain the above copyright notice and
 * this restricted rights notice.  Use, copying, and/or disclosure
 * of the programs is strictly prohibited unless otherwise provided
 * in the license agreement.
 */

#ifdef __cplusplus
extern "C" {
#endif

struct iocqp {
	unsigned short iqp_type;
	unsigned short iqp_value;
};

/* Queue types */
#define IQP_RQ		0		/* standard read queue */
#define IQP_WQ		1		/* standard write queue */
#define IQP_HDRQ	2		/* stream head read queue */
#define IQP_MUXRQ	3		/* multiplexor read queue */
#define IQP_MUXWQ	4		/* multiplexor write queue */
#define IQP_NQTYPES	5

#define MODL_INFO_SZ          2
#define DRVR_INFO_SZ          3
#define MUXDRVR_INFO_SZ       5

/* Queue parameter (value) types */
#define IQP_LOWAT	0x10		/* Low water mark */
#define IQP_HIWAT	0x20		/* High water mark */
#define IQP_NVTYPES     2

/* Masks */
#define IQP_QTYPMASK	0x0f
#define IQP_VTYPMASK	0xf0

/* Ioctl */
#define INITQPARMS      ('Q'<<8|0x01)

#ifdef KERNEL
extern int net_initqparms();
#endif

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -