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

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

?? dns.h

?? 在freescale 的ne64上開發的源代碼
?? H
字號:
/*
 *Copyright (c) 2000-2002 Viola Systems Ltd.
 *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. The end-user documentation included with the redistribution, if 
 *any, must include the following acknowledgment:
 *	"This product includes software developed by Viola 
 *	Systems (http://www.violasystems.com/)."
 *
 *Alternately, this acknowledgment may appear in the software itself, 
 *if and wherever such third-party acknowledgments normally appear.
 *
 *4. The names "OpenTCP" and "Viola Systems" must not be used to 
 *endorse or promote products derived from this software without prior 
 *written permission. For written permission, please contact 
 *opentcp@opentcp.org.
 *
 *5. Products derived from this software may not be called "OpenTCP", 
 *nor may "OpenTCP" appear in their name, without prior written 
 *permission of the Viola Systems Ltd.
 *
 *THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 VIOLA SYSTEMS LTD. OR ITS 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.
 *====================================================================
 *
 *OpenTCP is the unified open source TCP/IP stack available on a series 
 *of 8/16-bit microcontrollers, please see <http://www.opentcp.org>.
 *
 *For more information on how to network-enable your devices, or how to 
 *obtain commercial technical support for OpenTCP, please see 
 *<http://www.violasystems.com/>.
 */

/** \file dns.h
 *	\brief OpenTCP DNS interface file
 *	\author 
 *		\li Vladan Jovanovic (vladan.jovanovic@violasystems.com)
 *	\version 1.0
 *	\date 10.9.2002
 * 	
 *	OpenTCP DNS protocol function declarations, constants, etc.
 */
#ifndef INCLUDE_DNS_H
#define INCLUDE_DNS_H

#include "datatypes.h"


#define DNS_UDP_PORT	53	/**< DNS client will use this port 
							 *	 for sending and receiving of DNS packets
							 */

#define DNS_SERVER_IP	0xac100201  /**< DNS server's IP address */

#define DNS_RESEND_PERIOD	2			/**< Period in seconds for resending
										 * 	 DNS requests
										 */
#define DNS_NUM_RETRIES		5			/**< Number of retries that DNS
										 *	client will perform before
										 *	aborting name resolving
										 */

/* Events for event listener */
#define DNS_EVENT_ERROR				0	/**< Error event reported by DNS 
										 *	 client to event_listener
										 */
#define DNS_EVENT_SUCCESS			1	/**< Resolving successfull event
										 *	 reported by DNS client to 
										 *	 event_listener
										 */

/* First five errors (from RFC1035) which we transfer to event listener 
	plus a couple of our own
*/
#define DNS_ERROR_FORMAT			1	/**< The name server was unable to 
										 *	 interpret the query (RFC1035)
										 */
#define DNS_ERROR_SERVER_FAILURE	2	/**< The name server was unable to
										 *	 process this query due to a
										 *	 problem with the name server
										 *	 (RFC1035)
										 */
#define DNS_ERROR_NAME_ERROR		3	/**< Meaningful only for responses
										 *	 from an authoritative name
										 *	 server, this code signifies
										 *	 that the domain name referenced
										 *	 in the query does not exist
										 *	 (RFC1035)
										 */
#define DNS_ERROR_NOT_IMPLEMENTED	4	/**< The name server does not
										 *	 support the requested kind of
										 *	 query (RFC1035)
										 */
#define DNS_ERROR_REFUSED			5	/**< The name server refuses to
										 *	 perform the specified operation
										 *	 for policy reasons. (RFC 1035)
										 */
/* code 6-15 reserved for future use */
#define DNS_ERROR_TIMEOUT			16	/**< Timeout occured while DNS
										 *	 was trying to resolve the host
										 *	 name. New request should be
										 *	 issued if the address is needed
										 */
#define DNS_ERROR_GENERAL			17	/**< General (not specific) error
										 *	 occured while resolving host
										 *	 name.
										 */

/* Error codes returned from get_host_by_name(): */
/* Other error codes (besides those listed below) are:		
	-1 - general error
	-2 - arp not ready
	-3 - socket handle error
*/
#define DNS_ERROR_BUSY		-4	/**< Returned from get_host_by_name(): DNS
							     *	 client is currently busy with another
							     *	 request and is unable the process a new
							     *	 one
							     */
#define DNS_ERROR_LABEL		-5	/**< Returned from get_host_by_name(): Part 
								 *	 of the host name (label) consists of
								 *	 more than 63 characters.
								 */
#define DNS_ERROR_NAME		-6	/**< Returned from get_host_by_name(): Host
								 *	 name too long (more than 263 bytes)
								 */
#define DNS_ERROR_OVERFLOW	-7	/**< net_buf too small for the entire 
								 *	 DNS request to be stored in it.
								 */


INT16 get_host_by_name(UINT8 *host_name_ptr,void (*listener)(UINT8 , UINT32 ));

void dns_init(void);

void dns_run(void);

INT32 dns_eventlistener(INT8 , UINT8 , UINT32 , UINT16 , UINT16 , UINT16);

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲综合在线| 欧美成人精品1314www| 久久久www成人免费无遮挡大片| 亚洲免费在线看| 国产精品资源在线| 91麻豆精品91久久久久同性| 综合电影一区二区三区 | 亚洲精品中文字幕乱码三区| 精品一区二区三区免费观看| 欧美在线你懂的| 国产精品视频在线看| 激情欧美日韩一区二区| 欧美日韩第一区日日骚| 一区二区三区四区在线免费观看| 国产mv日韩mv欧美| 久久女同性恋中文字幕| 美女精品一区二区| 正在播放一区二区| 亚洲图片有声小说| 一本大道av伊人久久综合| 国产欧美日韩精品a在线观看| 美女免费视频一区| 日韩一区二区三区在线| 亚洲成a人v欧美综合天堂下载 | 精品一区二区三区视频 | 99r国产精品| 国产欧美一区二区精品婷婷| 久久国产精品99久久久久久老狼| 欧美另类久久久品| 亚洲不卡av一区二区三区| 91行情网站电视在线观看高清版| 亚洲欧美在线视频观看| 成人短视频下载| 国产精品久久午夜夜伦鲁鲁| 福利一区二区在线| 中文字幕电影一区| 成人高清在线视频| 国产精品久久看| jiyouzz国产精品久久| 国产精品免费视频观看| av一区二区三区四区| 国产精品卡一卡二| 99久久国产综合精品女不卡| 国产精品国产三级国产aⅴ原创| 成人激情视频网站| 国产精品乱子久久久久| aaa欧美大片| 最近日韩中文字幕| 色婷婷亚洲婷婷| 亚洲福利视频导航| 91精品国产一区二区人妖| 日本不卡在线视频| 精品久久一二三区| 成人网在线播放| 亚洲欧美在线视频| 欧美视频一区二区三区| 日韩国产一区二| 精品国精品国产| 成人永久免费视频| 亚洲欧洲一区二区三区| 91久久一区二区| 婷婷中文字幕综合| 2023国产精品视频| 成人蜜臀av电影| 亚洲美腿欧美偷拍| 欧美日韩免费观看一区二区三区| 日本免费新一区视频| 久久久久久综合| eeuss影院一区二区三区| 亚洲精品第1页| 欧美一区二区三区视频免费播放| 国产资源在线一区| 亚洲男同性视频| 在线成人小视频| 国产精品99久久久| 亚洲欧美日韩系列| 日韩一区二区三区免费看| 国精产品一区一区三区mba桃花| 亚洲国产精品二十页| 色94色欧美sute亚洲13| 日本中文字幕不卡| 国产偷v国产偷v亚洲高清| 91久久精品一区二区| 久久国产麻豆精品| 日韩一区欧美小说| 欧美精品乱人伦久久久久久| 国产乱人伦偷精品视频不卡| 亚洲乱码国产乱码精品精的特点| 欧美一区二区三区在线视频| 成人午夜激情影院| 亚洲成人在线免费| 国产欧美1区2区3区| 日本韩国一区二区| 精品一二三四区| 一区二区三区欧美日韩| 日韩欧美国产成人一区二区| 成人免费不卡视频| 日韩av成人高清| 中文字幕成人av| 日韩午夜激情免费电影| av一区二区久久| 久久se精品一区二区| 亚洲精品欧美专区| 久久一夜天堂av一区二区三区| 91国偷自产一区二区三区观看| 久久97超碰色| 亚洲老妇xxxxxx| 久久精子c满五个校花| 欧美日韩一区二区欧美激情| 成人听书哪个软件好| 日本在线观看不卡视频| 亚洲精品免费一二三区| 久久精品无码一区二区三区| 精品视频全国免费看| 成人黄色网址在线观看| 久久99久久99小草精品免视看| 亚洲一区二区美女| 国产精品理伦片| 久久色.com| 欧美一二区视频| 欧美亚洲动漫精品| 成人sese在线| 国产在线看一区| 丝袜亚洲另类丝袜在线| 亚洲婷婷综合久久一本伊一区| 久久精品亚洲乱码伦伦中文| 制服丝袜一区二区三区| 欧美色偷偷大香| 91在线高清观看| 国产成人精品亚洲午夜麻豆| 久久99精品国产.久久久久久| 亚洲一区二区在线观看视频 | 久久色中文字幕| 日韩一区二区三区视频在线| 欧美日韩精品免费观看视频| 91网站视频在线观看| 成人综合日日夜夜| 狠狠色丁香久久婷婷综合_中| 日韩电影在线一区| 婷婷亚洲久悠悠色悠在线播放| 一区二区成人在线| 亚洲欧美二区三区| 一区二区中文视频| 国产精品嫩草影院com| 国产日产亚洲精品系列| 久久综合一区二区| 久久嫩草精品久久久久| 欧美mv和日韩mv的网站| 日韩精品一区在线观看| 欧美一级黄色大片| 日韩午夜中文字幕| 欧美成人一区二区三区在线观看| 7777精品伊人久久久大香线蕉 | 欧美激情一区二区| 国产日产欧美一区| 国产欧美va欧美不卡在线| 久久久精品黄色| 欧美激情综合在线| 中文字幕在线不卡一区| 国产精品成人免费在线| 亚洲视频中文字幕| 一区二区三区四区在线播放| 亚洲精品一二三| 一区二区欧美国产| 午夜电影一区二区| 日韩极品在线观看| 麻豆精品一二三| 国内精品嫩模私拍在线| 国产精品主播直播| www.爱久久.com| 91福利在线免费观看| 欧美手机在线视频| 91精品国产色综合久久不卡电影| 91精选在线观看| 精品粉嫩超白一线天av| 国产丝袜欧美中文另类| 亚洲欧洲另类国产综合| 一个色综合av| 日本不卡一二三| 老司机精品视频在线| 国产乱子伦一区二区三区国色天香| 国产麻豆成人精品| 99r精品视频| 欧美精品成人一区二区三区四区| 欧美一区二区三区在线看| 久久婷婷成人综合色| 1000精品久久久久久久久| 亚洲小说欧美激情另类| 视频一区二区中文字幕| 国产精品1024| 色综合一个色综合| 欧美日韩高清不卡| 久久久久国产精品人| 亚洲另类中文字| 男人的天堂久久精品| 大陆成人av片| 欧美色精品在线视频| 久久综合久色欧美综合狠狠| 亚洲视频一区二区免费在线观看 | 中文字幕免费观看一区|