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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nameser.h

?? ecos下的gui開發(fā)源代碼
?? H
字號:
//==========================================================================
//
//      include/arpa/nameser.h
//
//==========================================================================
//####BSDCOPYRIGHTBEGIN####
//
// -------------------------------------------
//
// Portions of this software may have been derived from OpenBSD, 
// FreeBSD or other sources, and are covered by the appropriate
// copyright disclaimers included herein.
//
// Portions created by Red Hat are
// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
//
// -------------------------------------------
//
//####BSDCOPYRIGHTEND####
//==========================================================================

/*
 * Copyright (c) 1983, 1989 Regents of the University of California.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by the University of
 *	California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 *	@(#)nameser.h	5.25 (Berkeley) 4/3/91
 */

#ifndef _ARPA_NAMESER_H_
#define	_ARPA_NAMESER_H_

/*
 * Define constants based on rfc883
 */
#define PACKETSZ	512		/* maximum packet size */
#define MAXDNAME	256		/* maximum domain name */
#define MAXCDNAME	255		/* maximum compressed domain name */
#define MAXLABEL	63		/* maximum length of domain label */
	/* Number of bytes of fixed size data in query structure */
#define QFIXEDSZ	4
	/* number of bytes of fixed size data in resource record */
#define RRFIXEDSZ	10

/*
 * Internet nameserver port number
 */
#define NAMESERVER_PORT	53

/*
 * Currently defined opcodes
 */
#define QUERY		0x0		/* standard query */
#define IQUERY		0x1		/* inverse query */
#define STATUS		0x2		/* nameserver status query */
// #define xxx		0x3		/* 0x3 reserved */
	/* non standard */
#define UPDATEA		0x9		/* add resource record */
#define UPDATED		0xa		/* delete a specific resource record */
#define UPDATEDA	0xb		/* delete all nemed resource record */
#define UPDATEM		0xc		/* modify a specific resource record */
#define UPDATEMA	0xd		/* modify all named resource record */

#define ZONEINIT	0xe		/* initial zone transfer */
#define ZONEREF		0xf		/* incremental zone referesh */

/*
 * Currently defined response codes
 */
#define NOERROR		0		/* no error */
#define FORMERR		1		/* format error */
#define SERVFAIL	2		/* server failure */
#define NXDOMAIN	3		/* non existent domain */
#define NOTIMP		4		/* not implemented */
#define REFUSED		5		/* query refused */
	/* non standard */
#define NOCHANGE	0xf		/* update failed to change db */

/*
 * Type values for resources and queries
 */
#define T_A		1		/* host address */
#define T_NS		2		/* authoritative server */
#define T_MD		3		/* mail destination */
#define T_MF		4		/* mail forwarder */
#define T_CNAME		5		/* connonical name */
#define T_SOA		6		/* start of authority zone */
#define T_MB		7		/* mailbox domain name */
#define T_MG		8		/* mail group member */
#define T_MR		9		/* mail rename name */
#define T_NULL		10		/* null resource record */
#define T_WKS		11		/* well known service */
#define T_PTR		12		/* domain name pointer */
#define T_HINFO		13		/* host information */
#define T_MINFO		14		/* mailbox information */
#define T_MX		15		/* mail routing information */
#define T_TXT		16		/* text strings */
	/* non standard */
#define T_UINFO		100		/* user (finger) information */
#define T_UID		101		/* user ID */
#define T_GID		102		/* group ID */
#define T_UNSPEC	103		/* Unspecified format (binary data) */
	/* Query type values which do not appear in resource records */
#define T_AXFR		252		/* transfer zone of authority */
#define T_MAILB		253		/* transfer mailbox records */
#define T_MAILA		254		/* transfer mail agent records */
#define T_ANY		255		/* wildcard match */

/*
 * Values for class field
 */

#define C_IN		1		/* the arpa internet */
#define C_CHAOS		3		/* for chaos net at MIT */
#define C_HS		4		/* for Hesiod name server at MIT */
	/* Query class values which do not appear in resource records */
#define C_ANY		255		/* wildcard match */

/*
 * Status return codes for T_UNSPEC conversion routines
 */
#define CONV_SUCCESS 0
#define CONV_OVERFLOW -1
#define CONV_BADFMT -2
#define CONV_BADCKSUM -3
#define CONV_BADBUFLEN -4

#include <machine/endian.h>

/*
 * Structure for query header, the order of the fields is machine and
 * compiler dependent, in our case, the bits within a byte are assignd 
 * least significant first, while the order of transmition is most 
 * significant first.  This requires a somewhat confusing rearrangement.
 */

typedef struct {
	u_short	id;		/* query identification number */
#if BYTE_ORDER == BIG_ENDIAN
			/* fields in third byte */
	u_char	qr:1;		/* response flag */
	u_char	opcode:4;	/* purpose of message */
	u_char	aa:1;		/* authoritive answer */
	u_char	tc:1;		/* truncated message */
	u_char	rd:1;		/* recursion desired */
			/* fields in fourth byte */
	u_char	ra:1;		/* recursion available */
	u_char	pr:1;		/* primary server required (non standard) */
	u_char	unused:2;	/* unused bits */
	u_char	rcode:4;	/* response code */
#endif
#if BYTE_ORDER == LITTLE_ENDIAN || BYTE_ORDER == PDP_ENDIAN
			/* fields in third byte */
	u_char	rd:1;		/* recursion desired */
	u_char	tc:1;		/* truncated message */
	u_char	aa:1;		/* authoritive answer */
	u_char	opcode:4;	/* purpose of message */
	u_char	qr:1;		/* response flag */
			/* fields in fourth byte */
	u_char	rcode:4;	/* response code */
	u_char	unused:2;	/* unused bits */
	u_char	pr:1;		/* primary server required (non standard) */
	u_char	ra:1;		/* recursion available */
#endif
			/* remaining bytes */
	u_short	qdcount;	/* number of question entries */
	u_short	ancount;	/* number of answer entries */
	u_short	nscount;	/* number of authority entries */
	u_short	arcount;	/* number of resource entries */
} HEADER;

/*
 * Defines for handling compressed domain names
 */
#define INDIR_MASK	0xc0

/*
 * Structure for passing resource records around.
 */
struct rrec {
	short	r_zone;			/* zone number */
	short	r_class;		/* class number */
	short	r_type;			/* type number */
	u_long	r_ttl;			/* time to live */
	int	r_size;			/* size of data area */
	char	*r_data;		/* pointer to data */
};

/*
 * Inline versions of get/put short/long.
 * Pointer is advanced; we assume that both arguments
 * are lvalues and will already be in registers.
 * cp MUST be u_char *.
 */
#define GETSHORT(s, cp) { \
	(s) = *(cp)++ << 8; \
	(s) |= *(cp)++; \
}

#define GETLONG(l, cp) { \
	(l) = *(cp)++ << 8; \
	(l) |= *(cp)++; (l) <<= 8; \
	(l) |= *(cp)++; (l) <<= 8; \
	(l) |= *(cp)++; \
}


#define PUTSHORT(s, cp) { \
	*(cp)++ = (s) >> 8; \
	*(cp)++ = (s); \
}

/*
 * Warning: PUTLONG destroys its first argument.
 */
#define PUTLONG(l, cp) { \
	(cp)[3] = l; \
	(cp)[2] = (l >>= 8); \
	(cp)[1] = (l >>= 8); \
	(cp)[0] = l >> 8; \
	(cp) += sizeof(u_long); \
}

#endif /* !_ARPA_NAMESER_H_ */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成va人片在线观看| 成人黄色在线视频| 1024成人网色www| 国产色婷婷亚洲99精品小说| 欧美午夜一区二区三区| 91猫先生在线| 国产1区2区3区精品美女| 国产精品1024久久| 成人免费视频app| av一二三不卡影片| 91丨porny丨最新| 色婷婷激情一区二区三区| 日本电影亚洲天堂一区| 欧美视频一区二区在线观看| 91.成人天堂一区| 日韩视频在线观看一区二区| 精品国产电影一区二区| 国产婷婷色一区二区三区四区 | 一区二区三区在线高清| 夜夜精品视频一区二区| 亚洲综合999| 午夜精品福利一区二区三区av| 七七婷婷婷婷精品国产| 成人h动漫精品一区二| 欧美在线综合视频| 精品福利一二区| 一区二区三区色| 国模大尺度一区二区三区| 91日韩精品一区| 宅男噜噜噜66一区二区66| 久久精品视频免费观看| 亚洲一区二区欧美日韩| 国产精品一区二区91| 欧美日韩高清在线| 中文字幕巨乱亚洲| 亚洲va在线va天堂| 国产.欧美.日韩| 欧美一区二区三区视频免费| 成人欧美一区二区三区白人| 日韩电影一区二区三区| 91网站视频在线观看| 26uuu欧美| 一区二区激情小说| 精品一区二区三区在线观看| 日韩精品三区四区| 国产精品一卡二卡| jizz一区二区| 久久色中文字幕| 中文字幕高清不卡| 日韩精品专区在线影院观看| 亚洲美女视频在线| 日韩国产精品久久久久久亚洲| 亚洲女子a中天字幕| 日韩中文字幕区一区有砖一区| 久久99精品国产麻豆婷婷洗澡| 欧美亚洲日本国产| 精品国产乱码久久久久久免费| 久久久国产一区二区三区四区小说| 亚洲bdsm女犯bdsm网站| 国产91精品一区二区麻豆亚洲| 在线这里只有精品| 亚洲欧美日韩中文播放| 麻豆一区二区在线| 97精品超碰一区二区三区| 欧美韩国一区二区| 日韩中文欧美在线| 激情小说欧美图片| 在线观看欧美黄色| 久久九九影视网| 国产精品夜夜嗨| 欧美三级电影精品| 中文一区一区三区高中清不卡| 国产乱子伦视频一区二区三区 | 五月激情丁香一区二区三区| 美国一区二区三区在线播放| 成人夜色视频网站在线观看| 老司机午夜精品99久久| 精品裸体舞一区二区三区| 亚洲欧美国产高清| 久久婷婷色综合| 国产suv精品一区二区三区| 欧美丝袜丝交足nylons| 亚洲自拍都市欧美小说| 成人爽a毛片一区二区免费| 欧美精选午夜久久久乱码6080| 亚洲国产精品久久不卡毛片 | 97超碰欧美中文字幕| 99在线视频精品| 亚洲免费观看高清在线观看| 国产一区二区美女诱惑| 精品国产精品一区二区夜夜嗨| 亚洲国产精品尤物yw在线观看| 久久丁香综合五月国产三级网站 | 91精品国产综合久久香蕉麻豆| 亚洲午夜精品网| 成人免费毛片app| 4hu四虎永久在线影院成人| 午夜精品成人在线| 91在线精品一区二区| 91麻豆精品国产| 国产一区二区三区久久久| 91精品久久久久久久久99蜜臂| 亚洲成人av在线电影| 欧美成人精品二区三区99精品| 丝袜国产日韩另类美女| 一本大道久久a久久精二百| 天堂午夜影视日韩欧美一区二区| 国产九九视频一区二区三区| 久久久久久久久久电影| 色婷婷av一区二区三区软件 | 韩国欧美国产1区| 日韩欧美国产精品一区| 另类小说欧美激情| 日韩av中文字幕一区二区三区| 亚洲成人一区二区在线观看| 免费成人美女在线观看| 国内精品久久久久影院一蜜桃| 日韩精品每日更新| 欧美一区二区三区视频免费| 日韩—二三区免费观看av| 精品国产一区二区三区忘忧草| 国产成人av电影免费在线观看| 国产精品久久久爽爽爽麻豆色哟哟 | 在线视频欧美精品| 日韩精品一卡二卡三卡四卡无卡| 欧美一级黄色片| 麻豆免费精品视频| 一区2区3区在线看| 日韩一级免费观看| 日韩高清中文字幕一区| 日韩一区二区免费电影| 国产99久久久精品| 另类小说综合欧美亚洲| 国产精品对白交换视频| 欧美在线免费观看视频| 成人亚洲一区二区一| 夜夜操天天操亚洲| 欧美一区二区三区不卡| 日本久久精品电影| 图片区日韩欧美亚洲| 日韩一区二区不卡| 91在线观看成人| 男女视频一区二区| 国产精品久久久久久亚洲毛片 | 欧美三级视频在线| 久久国产日韩欧美精品| 亚洲视频香蕉人妖| 国产精品短视频| 欧美日韩免费高清一区色橹橹 | 成人黄动漫网站免费app| 精品一区二区三区av| 亚洲乱码日产精品bd| 26uuu精品一区二区三区四区在线| 91美女在线看| 国产美女在线精品| 国产一区二区三区日韩| 一区二区三区高清| 日韩欧美在线影院| 日本美女一区二区| 亚洲一区二区五区| 日韩女优毛片在线| 在线影视一区二区三区| 亚洲精品videosex极品| 91精品国产手机| 成人av免费观看| 91精彩视频在线观看| 国产麻豆9l精品三级站| 亚洲国产日韩在线一区模特 | 国产精品性做久久久久久| 亚洲国产精品成人久久综合一区| 久久欧美中文字幕| 久久综合久久鬼色| 中文字幕在线不卡视频| 久久蜜桃av一区精品变态类天堂| 欧美一级一区二区| 久久久www免费人成精品| 欧美成人一区二区| 国产精品18久久久久| av亚洲精华国产精华精| 成人免费福利片| 五月婷婷综合激情| 亚洲国产精品久久一线不卡| 亚洲一区二区三区四区五区中文 | 亚洲小少妇裸体bbw| 亚洲欧美一区二区三区国产精品| 中文字幕 久热精品 视频在线| 一区二区久久久久| 亚洲午夜免费福利视频| 亚洲婷婷国产精品电影人久久| 午夜精品福利在线| 美国欧美日韩国产在线播放| 国产成人免费视频精品含羞草妖精 | 亚洲欧美日韩小说| 天天av天天翘天天综合网| 一区二区成人在线视频| 久久久精品影视| 欧美国产一区二区在线观看| 久久精品人人做人人爽97| 偷偷要91色婷婷| 天使萌一区二区三区免费观看|