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

📄 nsel.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
字号:
/**            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  This*  software may only be used in accordance with the corresponding*  license agreement.  Any unauthorized use, duplication, transmission,*  distribution, or disclosure of this software is expressly forbidden.**  This Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $*  $Date: 2001/09/20 10:19:22 $*  $Source: M:/psisrc/stack/incl/rcs/nsel.h $*  $Revision: 1.10 $***************************************************************************  File Description:  NSEL structure definitions for nselect***************************************************************************/#ifndef _NSEL_#define _NSEL_#include "config.h"#include "ccdep.h"#include "q.h"#include "std.h"#include "timer.h"#include "socket.h"#include "dsu.h"#include "psu.h"#include "so.h"#include "son.h"#include "select.h"/* define a local 'nselect' structure; the last element is really an array of * 'sel' entries which is allocated based upon the actual caller's *  argument size */typedef struct nsel_s {	q       nsel_q;	tcb     nsel_tcb;              /* for the deadman timer */	son_t   * nsel_sonp;	u16     nsel_flags;            /* the inevitable */	u16     nsel_1pad;	void    * nsel_os1;            /* os specific space to allow identification */	struct usel_t  * nsel_uselp;   /* address of caller's usel */	int     nsel_ulen;             /* length of caller's usel */} nsel_t;#define nsel_hit        nsel_uselp->usel_hit#define nsel_cnt        nsel_uselp->usel_cnt#define nsel_wait       nsel_uselp->usel_wait#define nsel_rwait      nsel_uselp->usel_rwait#define nsel_upfi       nsel_uselp->usel_pfi#define nsel_uupfi      nsel_uselp->usel_upfi#define nsel_selp       nsel_uselp->usel_sels#endif /*_NSEL_*/

⌨️ 快捷键说明

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