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

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

?? screen.2

?? <B>Digital的Unix操作系統VAX 4.2源碼</B>
?? 2
字號:
.TH screen 2.SH Namescreen \- gateway packet screening facility.SH Syntax.nf#include <sys/types.h>#include <net/gw_screen.h>int mode;struct screen_data sdata;struct screen_stats sstats;.PPioctl(s, SIOCSCREENON, (caddr_t)&\fImode\fP);ioctl(s, SIOCSCREEN, (caddr_t)&\fIsdata\fP);ioctl(s, SIOCSCREENSTATS, (caddr_t)&\fIsstats\fP);.fi.SH ArgumentsThe interface to thegateway screen facility is a set of ioctlrequests.  All these requests are meant to be used on a file descriptorcreated by the.MS socket 2system call..IP "SIOCSCREENON" 10The.I modeparameter, passed by reference,can be .PN SCREENMODE_OFF ,.PN SCREENMODE_ON ,or.PN SCREENMODE_NOCHANGE .Upon completion of the system call, the.I modeparameter contains the previous value of the screen mode.Unprivileged users may only use the.PN SCREENMODE_NOCHANGErequest..IP "SIOCSCREEN" This is the most important request and is described below.Only the super-user may make this request..IP "SIOCSCREENSTATS" Returns, by reference using the.I sstatsparameter, statistics in this structure:.EX 0struct screen_stats {	u_long	ss_packets;	/* total packets screened */	u_long	ss_nobuffer;	/* dropped, buffer was full */	u_long	ss_accept;	/* total accepted */	u_long	ss_reject;	/* total rejected */	u_long	ss_badsync;	/* dropped, user was out of sync */	u_long	ss_stale;	/* dropped, too old */};.EE.SH Description.NXR "gateway screening".NXR "gateway screen facility".NXR "network packets" "and the gateway screen facility".NXR "screen system call"The gateway screenfacility allows a user-level process to decide which network packets should beforwarded by the kernel (when the system is acting as a gateway).When the screen mode is set to ``off,'' all packets are forwarded normally;when the screen mode is set to ``on,'' all packets that would be forwardedmust be approved through the use of this facility..SS Use of SIOCSCREENThe.PN SIOCSCREENrequest is used in the main loop ofthe user-level daemon.  Each time it is called, it returns(by reference using the.I sdataparameter)a.PN screen_datastructurecontaining a prefix of a packet (normally containing thepacket headers) and some additional information:.EX 0struct screen_data_hdr {	short	sdh_count;	/* length of entire record */	short	sdh_dlen;	/* bytes of packet header */	u_long	sdh_xid;	/* transaction ID */	struct timeval	sdh_arrival;	/* time packet arrived */	short	sdh_family;	/* address family */	int	sdh_action;	/* disposition for packet */#define	SCREEN_ACCEPT	0x0001	/* Accept this packet */#define	SCREEN_DROP	0x0000	/* Do not accept this packet */#define	SCREEN_NOTIFY	0x0002	/* Notify sender of failure */#define	SCREEN_NONOTIFY	0x0000	/* Do not notify sender */};struct screen_data {	struct screen_data_hdr sd_hdr;	char sd_data[SCREEN_DATALEN];	/* sd_dlen bytes of packet header */};#define	sd_count	sd_hdr.sdh_count#define	sd_dlen		sd_hdr.sdh_dlen#define	sd_xid		sd_hdr.sdh_xid#define	sd_action	sd_hdr.sdh_action#define	sd_arrival	sd_hdr.sdh_arrival#define	sd_family	sd_hdr.sdh_family.EEThe.I sd_familyfield indicates the protocol family (for example,.PN AF_INET )under which the packet is being handled; there is noprotocol-specific code in the kernel implementation of thegateway screen.  Either the.I sd_familyfield should be initialized to a specific family before therequest is invoked (indicating that the user process is willingto handle requests for this family only), or it should be set to.PN AF_UNSPEC(indicating that the user process is willing to handle all protocols)..PPThe user-levelprocess examines the packet headers and decides whether or not thepacket should be forwarded.  It communicates this decision to thekernel by filling in the.I sd_actionfield in the.PN screen_datastructure with either.PN SCREEN_ACCEPT ,.PN SCREEN_DROP ,or.PN SCREEN_DROP bit-wise ORed with.PN SCREEN_NOTIFY ;the last choice causes the gateway to drop the packet but sendan error packet to the source host (if this is supported in theprotocol family).The process then passes that structure back to the kernel in anotherinvocation of the.PN SIOCSCREENrequest.  That.I ioctlcall then blocks until a new packet is available, at which point thecycle repeats..PPNote that two actions are being carried outthrough one system call, and that each cycle starts mid-way througha system call.  Thus, the first time a daemon uses this.I ioctlrequest, it has to pass in a no-op decision to complete the first(half) cycle.The kernel matches incoming decisions with pending packets bycomparing both the transaction id.RI ( sd_xid )field, and the user's process id (so one process cannot providedecisions on packets presented to a different process).Decisions must be supplied in first-in, first-out order; decisionssupplied in the wrong order may result in packets being dropped..SH Return ValuesIf an error has occurred, a value of \-1 is returned and.PN errnois set to indicate the error..SH DiagnosticsIn addition to those error codes described for.MS ioctl 2 ,the.PN SIOCSCREENrequest can also return:.TP 20[ENOPROTOOPT]If the screen mode is set to.PN  SCREENMODE_OFF ,the.PN SIOCSCREENrequest is meaningless..TP[EPERM]If an operation reserved for the superuser is attempted bya non-superuser..SH See Alsoscreenmode(8), screend(8), screenstat(8), ioctl(2)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产免费一区二区| 欧美主播一区二区三区美女| 亚洲码国产岛国毛片在线| 欧美精品日韩综合在线| 成av人片一区二区| 久久99国产精品久久99| 一区二区三区欧美日韩| 国产女主播在线一区二区| 欧美一区二区在线免费观看| 不卡的av中国片| 精品中文av资源站在线观看| 亚洲伦理在线免费看| 国产日韩精品一区二区浪潮av| 制服.丝袜.亚洲.中文.综合| 99国产精品久久久| 国产电影一区二区三区| 麻豆久久一区二区| 亚洲国产精品天堂| 亚洲色图色小说| 国产午夜亚洲精品理论片色戒 | 欧美激情综合在线| 日韩你懂的在线播放| 精品视频在线免费看| 99久久99久久久精品齐齐| 成人性视频免费网站| 激情综合色丁香一区二区| 婷婷丁香久久五月婷婷| 亚洲一区二区黄色| 亚洲综合色婷婷| 亚洲三级小视频| 亚洲人成精品久久久久久| 日本一区二区动态图| 久久精品人人爽人人爽| 日韩免费在线观看| 日韩欧美成人激情| 精品99999| 久久精品视频免费| 国产视频视频一区| 中文字幕电影一区| 国产欧美日韩视频一区二区| 久久久美女毛片| 欧美韩国一区二区| 国产精品不卡在线观看| 一区二区中文字幕在线| 亚洲欧洲av一区二区三区久久| 国产精品麻豆视频| 17c精品麻豆一区二区免费| 国产精品夫妻自拍| 亚洲女同ⅹxx女同tv| 夜夜嗨av一区二区三区四季av| 亚洲一区二区三区四区不卡| 午夜精品久久久久久久99樱桃 | 亚洲乱码中文字幕综合| 亚洲一区免费观看| 日本亚洲天堂网| 九九精品一区二区| 丁香网亚洲国际| 一本一本久久a久久精品综合麻豆| 日本福利一区二区| 9191久久久久久久久久久| 日韩午夜激情视频| 久久精品欧美日韩| 亚洲色图丝袜美腿| 日产精品久久久久久久性色| 狠狠色综合色综合网络| 成人动漫视频在线| 欧美日韩国产小视频| 精品久久人人做人人爽| 亚洲国产精品二十页| 亚洲一区二区三区中文字幕 | 欧美一区二区三区系列电影| 久久这里都是精品| 国产精品视频第一区| 亚洲香蕉伊在人在线观| 国产精品自拍三区| 91久久线看在观草草青青| 欧美一区二区黄色| 国产精品女同互慰在线看| 首页亚洲欧美制服丝腿| 国产福利视频一区二区三区| 欧美亚州韩日在线看免费版国语版| 日韩一级免费一区| 中文字幕五月欧美| 青青草97国产精品免费观看无弹窗版| 国产精品亚洲成人| 欧美精品第1页| 国产精品久久久久毛片软件| 日韩高清不卡一区二区三区| 国产美女在线观看一区| 欧美性猛片aaaaaaa做受| 久久婷婷国产综合国色天香| 亚洲高清免费在线| 国产在线播放一区二区三区| 欧美网站大全在线观看| 久久理论电影网| 日韩经典一区二区| 99九九99九九九视频精品| www久久精品| 亚洲成在线观看| av在线一区二区| 26uuu欧美| 日韩—二三区免费观看av| 高清在线成人网| 91精品国产乱码久久蜜臀| 亚洲美腿欧美偷拍| 成人一区在线观看| 日韩精品一区二区三区在线播放| 一区二区在线观看av| 成人综合婷婷国产精品久久蜜臀| 777色狠狠一区二区三区| 亚洲免费观看在线观看| 国产成a人亚洲精| 日韩欧美精品在线视频| 婷婷亚洲久悠悠色悠在线播放| 91片在线免费观看| 国产精品嫩草久久久久| 国产精品99久久久久久久vr| 欧美一级欧美一级在线播放| 亚洲国产精品综合小说图片区| 91蝌蚪porny| 国产精品成人免费| 成人a免费在线看| 国产精品欧美极品| 成人av网站大全| 国产精品美女久久久久久| 国产成人夜色高潮福利影视| 久久午夜国产精品| 国产精品一区二区黑丝| 精品国产成人在线影院| 国产又黄又大久久| 亚洲精品一线二线三线无人区| 麻豆免费看一区二区三区| 日韩一区二区在线免费观看| 日本成人中文字幕| 日韩亚洲欧美中文三级| 蜜臀a∨国产成人精品| 欧美一区二区大片| 裸体一区二区三区| 精品美女一区二区| 国产呦精品一区二区三区网站| 久久免费的精品国产v∧| 国产91精品入口| 日韩美女视频一区| 一本色道a无线码一区v| 亚洲精品国产品国语在线app| 色婷婷综合久久| 亚洲福利一二三区| 欧美一区二区高清| 国产精品中文有码| 日韩一区欧美一区| 在线免费av一区| 日韩av中文在线观看| 欧美sm极限捆绑bd| 国产99精品视频| 亚洲欧洲综合另类| 在线播放中文字幕一区| 久久99国产精品久久| 亚洲国产精品99久久久久久久久| 91麻豆精东视频| 日本系列欧美系列| 久久精品这里都是精品| 北岛玲一区二区三区四区| 亚洲中国最大av网站| 欧美xxxxx牲另类人与| 成人免费va视频| 午夜av一区二区| 精品国产a毛片| 色偷偷一区二区三区| 免费日本视频一区| 国产精品理伦片| 欧美老女人在线| 国产成人在线观看| 亚洲高清三级视频| 亚洲国产精品激情在线观看| 欧美怡红院视频| 精品亚洲欧美一区| 亚洲麻豆国产自偷在线| 精品人伦一区二区色婷婷| 一本色道久久综合亚洲精品按摩| 日本成人在线看| 国产精品家庭影院| 欧美一区二区福利视频| 99国产一区二区三精品乱码| 裸体一区二区三区| 一区二区三区中文字幕在线观看| 日韩精品一区二区三区三区免费| av在线一区二区三区| 蜜桃视频第一区免费观看| 国产精品久久久爽爽爽麻豆色哟哟| 欧美日韩免费视频| 国产不卡高清在线观看视频| 日本伊人精品一区二区三区观看方式| 日本一区二区三区四区在线视频| 欧美三级在线视频| www.欧美日韩| 国内久久精品视频| 天堂久久久久va久久久久| 亚洲日本青草视频在线怡红院| 精品国产91洋老外米糕| 欧美电影一区二区三区|