亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? svc.h

?? 著名的入侵檢測系統snort的最新版本的源碼
?? H
字號:
/*  $Id$ *//*	$OpenBSD: svc.h,v 1.2 1997/09/21 10:46:16 niklas Exp $	*//*	$NetBSD: svc.h,v 1.9 1995/04/29 05:28:01 cgd Exp $	*//* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as a part of the software program in whole or part.  Users * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. *  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. *  * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. *  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. *  * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. *  * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California  94043 * *	from: @(#)svc.h 1.20 88/02/08 SMI  *	@(#)svc.h	2.2 88/07/29 4.0 RPCSRC *//* * svc.h, Server-side remote procedure call interface. * * Copyright (C) 1984, Sun Microsystems, Inc. */#ifndef _RPC_SVC_H#define _RPC_SVC_H#include <sys/cdefs.h>/* * This interface must manage two items concerning remote procedure calling: * * 1) An arbitrary number of transport connections upon which rpc requests * are received.  The two most notable transports are TCP and UDP;  they are * created and registered by routines in svc_tcp.c and svc_udp.c, respectively; * they in turn call xprt_register and xprt_unregister. * * 2) An arbitrary number of locally registered services.  Services are * described by the following four data: program number, version number, * "service dispatch" function, a transport handle, and a boolean that * indicates whether or not the exported program should be registered with a * local binder service;  if true the program's number and version and the * port number from the transport handle are registered with the binder. * These data are registered with the rpc svc system via svc_register. * * A service's dispatch function is called whenever an rpc request comes in * on a transport.  The request's program and version numbers must match * those of the registered service.  The dispatch function is passed two * parameters, struct svc_req * and SVCXPRT *, defined below. */enum xprt_stat {	XPRT_DIED,	XPRT_MOREREQS,	XPRT_IDLE};/* * Server side transport handle */typedef struct __rpc_svcxprt {	int		xp_sock;	u_short		xp_port;	 /* associated port number */	struct xp_ops {		/* receive incomming requests */		bool_t	(*xp_recv) __P((struct __rpc_svcxprt *,			    struct rpc_msg *));		/* get transport status */		enum xprt_stat (*xp_stat) __P((struct __rpc_svcxprt *));		/* get arguments */		bool_t	(*xp_getargs) __P((struct __rpc_svcxprt *, xdrproc_t,			    caddr_t));		/* send reply */		bool_t	(*xp_reply) __P((struct __rpc_svcxprt *,			    struct rpc_msg *));		/* free mem allocated for args */		bool_t	(*xp_freeargs) __P((struct __rpc_svcxprt *, xdrproc_t,			    caddr_t));		/* destroy this struct */		void	(*xp_destroy) __P((struct __rpc_svcxprt *));	} *xp_ops;	int		xp_addrlen;	 /* length of remote address */	struct sockaddr_in xp_raddr;	 /* remote address */	struct opaque_auth xp_verf;	 /* raw response verifier */	caddr_t		xp_p1;		 /* private */	caddr_t		xp_p2;		 /* private */} SVCXPRT;/* *  Approved way of getting address of caller */#define svc_getcaller(x) (&(x)->xp_raddr)/* * Operations defined on an SVCXPRT handle * * SVCXPRT		*xprt; * struct rpc_msg	*msg; * xdrproc_t		 xargs; * caddr_t		 argsp; */#define SVC_RECV(xprt, msg)				\	(*(xprt)->xp_ops->xp_recv)((xprt), (msg))#define svc_recv(xprt, msg)				\	(*(xprt)->xp_ops->xp_recv)((xprt), (msg))#define SVC_STAT(xprt)					\	(*(xprt)->xp_ops->xp_stat)(xprt)#define svc_stat(xprt)					\	(*(xprt)->xp_ops->xp_stat)(xprt)#define SVC_GETARGS(xprt, xargs, argsp)			\	(*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))#define svc_getargs(xprt, xargs, argsp)			\	(*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))#define SVC_REPLY(xprt, msg)				\	(*(xprt)->xp_ops->xp_reply) ((xprt), (msg))#define svc_reply(xprt, msg)				\	(*(xprt)->xp_ops->xp_reply) ((xprt), (msg))#define SVC_FREEARGS(xprt, xargs, argsp)		\	(*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))#define svc_freeargs(xprt, xargs, argsp)		\	(*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))#define SVC_DESTROY(xprt)				\	(*(xprt)->xp_ops->xp_destroy)(xprt)#define svc_destroy(xprt)				\	(*(xprt)->xp_ops->xp_destroy)(xprt)/* * Service request */struct svc_req {	u_int32_t	rq_prog;	/* service program number */	u_int32_t	rq_vers;	/* service protocol version */	u_int32_t	rq_proc;	/* the desired procedure */	struct opaque_auth rq_cred;	/* raw creds from the wire */	caddr_t		rq_clntcred;	/* read only cooked cred */	SVCXPRT	*rq_xprt;		/* associated transport */};/* * Service registration * * svc_register(xprt, prog, vers, dispatch, protocol) *	SVCXPRT *xprt; *	u_long prog; *	u_long vers; *	void (*dispatch)(); *	int protocol;    like TCP or UDP, zero means do not register  */__BEGIN_DECLSextern bool_t	svc_register __P((SVCXPRT *, u_long, u_long,		    void (*) __P((struct svc_req *, SVCXPRT *)), int));__END_DECLS/* * Service un-registration * * svc_unregister(prog, vers) *	u_long prog; *	u_long vers; */__BEGIN_DECLSextern void	svc_unregister __P((u_long, u_long));__END_DECLS/* * Transport registration. * * xprt_register(xprt) *	SVCXPRT *xprt; */__BEGIN_DECLSextern void	xprt_register	__P((SVCXPRT *));__END_DECLS/* * Transport un-register * * xprt_unregister(xprt) *	SVCXPRT *xprt; */__BEGIN_DECLSextern void	xprt_unregister	__P((SVCXPRT *));__END_DECLS/* * When the service routine is called, it must first check to see if it * knows about the procedure;  if not, it should call svcerr_noproc * and return.  If so, it should deserialize its arguments via  * SVC_GETARGS (defined above).  If the deserialization does not work, * svcerr_decode should be called followed by a return.  Successful * decoding of the arguments should be followed the execution of the * procedure's code and a call to svc_sendreply. * * Also, if the service refuses to execute the procedure due to too- * weak authentication parameters, svcerr_weakauth should be called. * Note: do not confuse access-control failure with weak authentication! * * NB: In pure implementations of rpc, the caller always waits for a reply * msg.  This message is sent when svc_sendreply is called.   * Therefore pure service implementations should always call * svc_sendreply even if the function logically returns void;  use * xdr.h - xdr_void for the xdr routine.  HOWEVER, tcp based rpc allows * for the abuse of pure rpc via batched calling or pipelining.  In the * case of a batched call, svc_sendreply should NOT be called since * this would send a return message, which is what batching tries to avoid. * It is the service/protocol writer's responsibility to know which calls are * batched and which are not.  Warning: responding to batch calls may * deadlock the caller and server processes! */__BEGIN_DECLSextern bool_t	svc_sendreply	__P((SVCXPRT *, xdrproc_t, char *));extern void	svcerr_decode	__P((SVCXPRT *));extern void	svcerr_weakauth	__P((SVCXPRT *));extern void	svcerr_noproc	__P((SVCXPRT *));extern void	svcerr_progvers	__P((SVCXPRT *, u_long, u_long));extern void	svcerr_auth	__P((SVCXPRT *, enum auth_stat));extern void	svcerr_noprog	__P((SVCXPRT *));extern void	svcerr_systemerr __P((SVCXPRT *));__END_DECLS    /* * Lowest level dispatching -OR- who owns this process anyway. * Somebody has to wait for incoming requests and then call the correct * service routine.  The routine svc_run does infinite waiting; i.e., * svc_run never returns. * Since another (co-existant) package may wish to selectively wait for * incoming calls or other events outside of the rpc architecture, the * routine svc_getreq is provided.  It must be passed readfds, the * "in-place" results of a select system call (see select, section 2). *//* * Global keeper of rpc service descriptors in use * dynamic; must be inspected before each call to select  */extern int svc_maxfd;#ifdef FD_SETSIZEextern fd_set svc_fdset;#define svc_fds svc_fdset.fds_bits[0]	/* compatibility */#elseextern int svc_fds;#endif /* def FD_SETSIZE *//* * a small program implemented by the svc_rpc implementation itself; * also see clnt.h for protocol numbers. */extern void rpctest_service();				/* XXX relic? */__BEGIN_DECLSextern void	svc_getreq	__P((int));extern void	svc_getreqset	__P((fd_set *));extern void	svc_run		__P((void));__END_DECLS/* * Socket to use on svcxxx_create call to get default socket */#define	RPC_ANYSOCK	-1/* * These are the existing service side transport implementations *//* * Memory based rpc for testing and timing. */__BEGIN_DECLSextern SVCXPRT *svcraw_create __P((void));__END_DECLS/* * Udp based rpc. */__BEGIN_DECLSextern SVCXPRT *svcudp_create __P((int));extern SVCXPRT *svcudp_bufcreate __P((int, u_int, u_int));__END_DECLS/* * Tcp based rpc. */__BEGIN_DECLSextern SVCXPRT *svctcp_create __P((int, u_int, u_int));__END_DECLS/* * Fd based rpc. */__BEGIN_DECLSextern SVCXPRT *svcfd_create __P((int, u_int, u_int));__END_DECLS#endif /* !_RPC_SVC_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91丨porny丨中文| 精品免费日韩av| 91精品久久久久久久99蜜桃| 欧美电影免费观看高清完整版| 欧美激情一区二区三区蜜桃视频| 亚洲欧美日韩电影| 亚洲欧美一区二区三区久本道91 | 99久久伊人精品| 欧美色图片你懂的| 欧美一区二区三区公司| 亚洲女女做受ⅹxx高潮| 99久久精品免费精品国产| 一本色道久久综合亚洲aⅴ蜜桃| 26uuu另类欧美| 日韩在线a电影| 国产一区二区三区视频在线播放| 在线视频观看一区| 中文在线一区二区 | 91视频国产观看| 欧美一区二区成人6969| 亚洲成人av福利| jlzzjlzz亚洲日本少妇| 日韩欧美色综合网站| 午夜精品福利一区二区三区av| 国产高清无密码一区二区三区| 欧美人狂配大交3d怪物一区| 亚洲一二三区不卡| 91在线视频网址| 欧美国产日韩精品免费观看| 国产丶欧美丶日本不卡视频| 51精品视频一区二区三区| 亚洲欧美日韩系列| 色婷婷综合久久久久中文一区二区| 欧美精品一区二区高清在线观看 | 91精品国产aⅴ一区二区| 亚洲黄色免费电影| 色欧美乱欧美15图片| 综合久久国产九一剧情麻豆| 粉嫩av亚洲一区二区图片| 国产精品网站一区| 国产精品18久久久久久久久久久久 | 五月天网站亚洲| 懂色av一区二区在线播放| 精品国产91久久久久久久妲己 | 久久婷婷国产综合精品青草| 美腿丝袜亚洲综合| 欧美一级午夜免费电影| 亚洲欧洲另类国产综合| 91精彩视频在线| 亚洲一二三四区| 日本久久精品电影| 美女视频黄免费的久久 | 亚洲国产成人精品视频| 不卡视频一二三四| 亚洲最大的成人av| 欧美日韩国产小视频| 亚洲成av人片一区二区三区| 欧美精品在线观看播放| 韩国欧美国产1区| 国产午夜久久久久| 美女www一区二区| 久久久久国产精品人| 国产精品羞羞答答xxdd| 国产精品每日更新在线播放网址 | 国内精品国产成人| 国产精品国产三级国产aⅴ无密码| 91丨porny丨蝌蚪视频| 夜夜爽夜夜爽精品视频| 91精品一区二区三区久久久久久| 免费高清不卡av| 中文字幕av在线一区二区三区| 色香蕉久久蜜桃| 午夜久久福利影院| 精品国产网站在线观看| 高清久久久久久| 亚洲成人高清在线| 久久久久久久国产精品影院| 欧美色欧美亚洲另类二区| 理论电影国产精品| 国产精品国产三级国产三级人妇| 国产成a人亚洲| 亚洲高清免费观看| 国产精品美女久久久久久久久久久| 欧美视频在线一区二区三区 | 蜜桃一区二区三区在线| 国产精品免费视频网站| 精品美女在线观看| 国产91精品露脸国语对白| 亚洲一区二区高清| 国产精品不卡一区二区三区| 欧美性做爰猛烈叫床潮| 国产精品18久久久久久vr| 亚洲最新视频在线观看| 久久久久久久综合狠狠综合| 欧美va亚洲va香蕉在线| 91毛片在线观看| 国产麻豆精品久久一二三| 亚洲一区二区三区在线播放| 亚洲图片激情小说| 26uuu精品一区二区在线观看| 色欧美日韩亚洲| 一本大道久久a久久精品综合| 黑人巨大精品欧美一区| 偷拍一区二区三区| 天天影视网天天综合色在线播放| 国产精品色一区二区三区| 欧美成人三级在线| 欧美成人一区二区三区| 欧美唯美清纯偷拍| 成人免费高清视频在线观看| 国产成人av电影免费在线观看| 日本在线不卡视频| 亚洲国产一区二区三区| 一区av在线播放| 亚洲免费成人av| 自拍偷拍亚洲激情| 亚洲激情成人在线| 亚洲欧洲成人精品av97| 久久久久久久国产精品影院| 久久久www成人免费毛片麻豆 | 555夜色666亚洲国产免| 在线欧美日韩国产| 成人av影院在线| 91无套直看片红桃| www.欧美精品一二区| 亚洲成人av免费| 精品在线观看免费| 蜜桃av一区二区| 日韩一区精品字幕| 九色porny丨国产精品| 老司机精品视频在线| 一区二区三区高清在线| 日韩电影一区二区三区四区| 视频一区二区欧美| 国产伦精一区二区三区| 国产精品69久久久久水密桃| 成人h动漫精品一区二区| 91亚洲精品久久久蜜桃| 国产成人一区在线| 成人av网在线| 色视频欧美一区二区三区| 91精品国产综合久久久久| 欧美成人在线直播| 国产欧美日韩另类一区| 亚洲一卡二卡三卡四卡| 日本在线观看不卡视频| 国产在线精品视频| 欧美影院一区二区三区| 欧美一区二区不卡视频| 国产亚洲欧美一区在线观看| 亚洲国产色一区| 日韩va亚洲va欧美va久久| 久久国产麻豆精品| 在线观看视频一区二区| 欧美一区二区三区色| 国产日产亚洲精品系列| 亚洲宅男天堂在线观看无病毒| 亚洲成av人片在www色猫咪| 大胆亚洲人体视频| 国内外成人在线视频| 91丝袜国产在线播放| 在线观看视频欧美| 亚洲精品一区二区三区影院 | 国产成人免费在线观看| 91福利视频网站| 欧美精品一区二区三区在线| 亚洲成在人线在线播放| 精品一区二区影视| 在线观看亚洲一区| 国产精品每日更新| 国产精品中文字幕欧美| 欧美一级理论片| 婷婷综合在线观看| 欧美系列日韩一区| 欧美国产综合色视频| 极品少妇xxxx精品少妇偷拍| 欧美日韩久久不卡| 亚洲成人高清在线| 91久久精品一区二区三| 亚洲国产高清在线观看视频| 美国三级日本三级久久99| 69堂亚洲精品首页| 石原莉奈一区二区三区在线观看| 日本高清免费不卡视频| 亚洲欧美在线aaa| 成人高清视频在线| 国产精品三级电影| 国产精品一品二品| 国产午夜精品在线观看| 国产福利精品一区二区| 久久久三级国产网站| 另类欧美日韩国产在线| 欧美mv和日韩mv的网站| 精品一区二区三区在线播放视频| 欧美变态口味重另类| 美女任你摸久久| 久久久国产综合精品女国产盗摄| 国产精品综合网| 国产精品免费视频观看| 91麻豆免费看|