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

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

?? opt.h

?? ucos+lwip在44b0+8019開發板上跑得比較穩定的程序。是ADS的工程
?? H
字號:
/*
 * Copyright (c) 2001-2003 Swedish Institute of Computer Science.
 * 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 name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission. 
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
 *
 * This file is part of the lwIP TCP/IP stack.
 * 
 * Author: Adam Dunkels <adam@sics.se>
 *
 */
#ifndef __LWIP_OPT_H__
#define __LWIP_OPT_H__

#include "lwip/debug.h"
/* Include user defined options first */
//#include "lwipopts.h"

/* Define default values for unconfigured parameters. */

/* Platform specific locking */

/*
 * enable SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection
 * for certain critical regions during buffer allocation, deallocation and memory
 * allocation and deallocation.
 */

#ifndef SYS_LIGHTWEIGHT_PROT
#define SYS_LIGHTWEIGHT_PROT           0
#endif

#ifndef NO_SYS
#define NO_SYS 0
#endif
/* ---------- Memory options ---------- */
/* MEM_ALIGNMENT: should be set to the alignment of the CPU for which
   lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2
   byte alignment -> define MEM_ALIGNMENT to 2. */

#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT           4
#endif

/* MEM_SIZE: the size of the heap memory. If the application will send
a lot of data that needs to be copied, this should be set high. */
#ifndef MEM_SIZE
#define MEM_SIZE                4096//org is 1600
#endif

/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
   sends a lot of data out of ROM (or other static memory), this
   should be set high. */
#ifndef MEMP_NUM_PBUF
#define MEMP_NUM_PBUF           16
#endif

/* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
   per active UDP "connection". */
#ifndef MEMP_NUM_UDP_PCB
#define MEMP_NUM_UDP_PCB        10//org 4
#endif
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
   connections. */
#ifndef MEMP_NUM_TCP_PCB
#define MEMP_NUM_TCP_PCB        10//org 5
#endif
/* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP
   connections. */
#ifndef MEMP_NUM_TCP_PCB_LISTEN
#define MEMP_NUM_TCP_PCB_LISTEN 8
#endif
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
   segments. */
#ifndef MEMP_NUM_TCP_SEG
#define MEMP_NUM_TCP_SEG        16
#endif
/* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
   timeouts. */
#ifndef MEMP_NUM_SYS_TIMEOUT
#define MEMP_NUM_SYS_TIMEOUT    3
#endif

/* The following four are used only with the sequential API and can be
   set to 0 if the application only will use the raw API. */
/* MEMP_NUM_NETBUF: the number of struct netbufs. */
#ifndef MEMP_NUM_NETBUF
#define MEMP_NUM_NETBUF         2
#endif
/* MEMP_NUM_NETCONN: the number of struct netconns. */
#ifndef MEMP_NUM_NETCONN
#define MEMP_NUM_NETCONN        4
#endif
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
   communication between the TCP/IP stack and the sequential
   programs. */
#ifndef MEMP_NUM_API_MSG
#define MEMP_NUM_API_MSG        16//8
#endif
/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used
   for sequential API communication and incoming packets. Used in
   src/api/tcpip.c. */
#ifndef MEMP_NUM_TCPIP_MSG
#define MEMP_NUM_TCPIP_MSG      16//8
#endif

/* ---------- Pbuf options ---------- */
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */

#ifndef PBUF_POOL_SIZE
#define PBUF_POOL_SIZE          32//16
#endif

/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */

#ifndef PBUF_POOL_BUFSIZE
#define PBUF_POOL_BUFSIZE       128
#endif

/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
   link level header. */

#ifndef PBUF_LINK_HLEN
#define PBUF_LINK_HLEN          0
#endif



/* ---------- ARP options ---------- */

/** Number of active hardware address, IP address pairs cached */
#ifndef ARP_TABLE_SIZE
#define ARP_TABLE_SIZE 10
#endif

/**
 * If enabled, outgoing packets are queued during hardware address
 * resolution. The etharp.c implementation queues 1 packet only.
 */
#ifndef ARP_QUEUEING
#define ARP_QUEUEING 1
#endif
/**
 * If defined to 1, cache entries are updated or added for every kind of ARP traffic
 * or broadcast IP traffic. Recommended for routers.
 * If defined to 0, only existing cache entries are updated. Entries are added when
 * lwIP is sending to them. Recommended for embedded devices.
 */
#ifndef ETHARP_ALWAYS_INSERT
#define ETHARP_ALWAYS_INSERT 1
#endif

/* ---------- IP options ---------- */
/* Define IP_FORWARD to 1 if you wish to have the ability to forward
   IP packets across network interfaces. If you are going to run lwIP
   on a device with only one network interface, define this to 0. */
#ifndef IP_FORWARD
#define IP_FORWARD              0
#endif

/* If defined to 1, IP options are allowed (but not parsed). If
   defined to 0, all packets with IP options are dropped. */
#ifndef IP_OPTIONS
#define IP_OPTIONS              1
#endif

/** IP reassembly and segmentation. Even if they both deal with IP
 *  fragments, note that these are orthogonal, one dealing with incoming
 *  packets, the other with outgoing packets
 */

/** Reassemble incoming fragmented IP packets */
#ifndef IP_REASSEMBLY
#define IP_REASSEMBLY     1
#endif

/** Fragment outgoing IP packets if their size exceeds MTU */
#ifndef IP_FRAG
#define IP_FRAG           1
#endif

/* ---------- ICMP options ---------- */

#ifndef ICMP_TTL
#define ICMP_TTL                255
#endif

/* ---------- DHCP options ---------- */

#ifndef LWIP_DHCP
#define LWIP_DHCP               0
#endif

/* 1 if you want to do an ARP check on the offered address
   (recommended). */
#ifndef DHCP_DOES_ARP_CHECK
#define DHCP_DOES_ARP_CHECK     1
#endif

/* ---------- UDP options ---------- */
#define LWIP_UDP                1

#ifndef LWIP_UDP
#define LWIP_UDP                1
#endif

#ifndef UDP_TTL
#define UDP_TTL                 255
#endif

/* ---------- TCP options ---------- */
#define LWIP_TCP                1

#ifndef LWIP_TCP
#define LWIP_TCP                1
#endif

#ifndef TCP_TTL
#define TCP_TTL                 255
#endif

#ifndef TCP_WND
#define TCP_WND                 2048
#endif 

#ifndef TCP_MAXRTX
#define TCP_MAXRTX              12
#endif

#ifndef TCP_SYNMAXRTX
#define TCP_SYNMAXRTX           6
#endif


/* Controls if TCP should queue segments that arrive out of
   order. Define to 0 if your device is low on memory. */
#ifndef TCP_QUEUE_OOSEQ
#define TCP_QUEUE_OOSEQ         1
#endif

/* TCP Maximum segment size. */
#ifndef TCP_MSS
#define TCP_MSS                 128 /* A *very* conservative default. */
#endif

/* TCP sender buffer space (bytes). */
#ifndef TCP_SND_BUF
#define TCP_SND_BUF             256
#endif

/* TCP sender buffer space (pbufs). This must be at least = 2 *
   TCP_SND_BUF/TCP_MSS for things to work. */
#ifndef TCP_SND_QUEUELEN
#define TCP_SND_QUEUELEN        4 * TCP_SND_BUF/TCP_MSS
#endif


/* Maximum number of retransmissions of data segments. */

/* Maximum number of retransmissions of SYN segments. */

/* TCP writable space (bytes). This must be less than or equal
   to TCP_SND_BUF. It is the amount of space which must be
   available in the tcp snd_buf for select to return writable */
#ifndef TCP_SNDLOWAT
#define TCP_SNDLOWAT            TCP_SND_BUF/2
#endif




#ifndef LWIP_EVENT_API
#define LWIP_EVENT_API    0
#define LWIP_CALLBACK_API 1
#else 
#define LWIP_EVENT_API    1
#define LWIP_CALLBACK_API 0
#endif 

#ifndef LWIP_COMPAT_SOCKETS
#define LWIP_COMPAT_SOCKETS     1
#endif


#ifndef TCPIP_THREAD_PRIO
#define TCPIP_THREAD_PRIO 1
#endif

#ifndef SLIPIF_THREAD_PRIO
#define SLIPIF_THREAD_PRIO 1
#endif

#ifndef DEFAULT_THREAD_PRIO
#define DEFAULT_THREAD_PRIO 1
#endif
/* ---------- Statistics options ---------- */
#define LWIP_STATS	0

#ifndef LWIP_STATS
#define LWIP_STATS	1
#endif

#if LWIP_STATS

#define LINK_STATS
#define IP_STATS
#define ICMP_STATS
#define UDP_STATS
#define TCP_STATS
#define MEM_STATS
#define MEMP_STATS
#define PBUF_STATS
#define SYS_STATS

#endif /* LWIP_STATS */

/* Debugging options all default to off */

#ifndef DBG_TYPES_ON
#define DBG_TYPES_ON 0
#endif

#ifndef DEMO_DEBUG
#define DEMO_DEBUG      DBG_OFF
#endif

#ifndef ETHARP_DEBUG
#define ETHARP_DEBUG     DBG_OFF
#endif

#ifndef NETIF_DEBUG
#define NETIF_DEBUG      DBG_OFF
#endif

#ifndef PBUF_DEBUG
#define PBUF_DEBUG       DBG_OFF
#endif

#ifndef API_LIB_DEBUG
#define API_LIB_DEBUG    DBG_OFF
#endif

#ifndef API_MSG_DEBUG
#define API_MSG_DEBUG    DBG_OFF
#endif

#ifndef SOCKETS_DEBUG
#define SOCKETS_DEBUG    DBG_OFF
#endif

#ifndef ICMP_DEBUG
#define ICMP_DEBUG       DBG_OFF
#endif

#ifndef INET_DEBUG
#define INET_DEBUG       DBG_OFF
#endif

#ifndef IP_DEBUG
#define IP_DEBUG         DBG_OFF
#endif

#ifndef IP_REASS_DEBUG
#define IP_REASS_DEBUG   DBG_OFF
#endif

#ifndef MEM_DEBUG
#define MEM_DEBUG        DBG_OFF
#endif

#ifndef MEMP_DEBUG
#define MEMP_DEBUG       DBG_OFF
#endif

#ifndef SYS_DEBUG
#define SYS_DEBUG        DBG_OFF
#endif

#ifndef TCP_DEBUG
#define TCP_DEBUG        DBG_OFF
#endif

#ifndef TCP_INPUT_DEBUG
#define TCP_INPUT_DEBUG  DBG_OFF
#endif

#ifndef TCP_FR_DEBUG
#define TCP_FR_DEBUG     DBG_OFF
#endif

#ifndef TCP_RTO_DEBUG
#define TCP_RTO_DEBUG    DBG_OFF
#endif

#ifndef TCP_REXMIT_DEBUG
#define TCP_REXMIT_DEBUG DBG_OFF
#endif

#ifndef TCP_CWND_DEBUG
#define TCP_CWND_DEBUG   DBG_OFF
#endif

#ifndef TCP_WND_DEBUG
#define TCP_WND_DEBUG    DBG_OFF
#endif

#ifndef TCP_OUTPUT_DEBUG
#define TCP_OUTPUT_DEBUG DBG_OFF
#endif

#ifndef TCP_RST_DEBUG
#define TCP_RST_DEBUG    DBG_OFF
#endif

#ifndef TCP_QLEN_DEBUG
#define TCP_QLEN_DEBUG   DBG_OFF
#endif

#ifndef UDP_DEBUG
#define UDP_DEBUG        DBG_OFF
#endif

#ifndef TCPIP_DEBUG
#define TCPIP_DEBUG      DBG_OFF
#endif

#ifndef SLIP_DEBUG 
#define SLIP_DEBUG       DBG_OFF
#endif

#ifndef DHCP_DEBUG 
#define DHCP_DEBUG       DBG_OFF
#endif


#ifndef DBG_MIN_LEVEL
#define DBG_MIN_LEVEL DBG_LEVEL_OFF
#endif

#endif /* __LWIP_OPT_H__ */



?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩高清影院| 久久机这里只有精品| 久久综合九色综合欧美就去吻| 一本到高清视频免费精品| 成人午夜视频福利| 成人午夜在线播放| 成人爱爱电影网址| 99精品国产一区二区三区不卡| www.日本不卡| 91看片淫黄大片一级| 不卡的av在线播放| 91精彩视频在线| 欧美性大战久久| 欧美一二三四在线| 精品成人一区二区三区四区| 国产婷婷一区二区| 亚洲精品水蜜桃| 日日夜夜精品免费视频| 捆绑调教一区二区三区| 国产高清不卡二三区| 99视频有精品| 欧美性色黄大片手机版| 欧美一区二区三区免费视频| 日韩免费成人网| 欧美国产禁国产网站cc| 一区二区三区精品视频在线| 日韩和的一区二区| 国产精品一区二区91| 一本久道中文字幕精品亚洲嫩| 欧美精品乱码久久久久久| 久久亚洲精精品中文字幕早川悠里 | 亚洲一区免费观看| 免费在线视频一区| 97精品久久久午夜一区二区三区| 欧美无乱码久久久免费午夜一区| 日韩免费电影网站| 中文字幕佐山爱一区二区免费| 午夜视频在线观看一区| 国产精品一区二区三区四区| 亚洲午夜精品17c| 欧美综合一区二区| 另类专区欧美蜜桃臀第一页| 国产成人鲁色资源国产91色综| 91成人免费网站| 精品国产成人系列| 亚洲国产精品久久久久婷婷884| 国产美女在线观看一区| 欧美色图在线观看| 国产亚洲综合色| 视频一区视频二区中文| 成人av片在线观看| 欧美刺激午夜性久久久久久久| 亚洲精品视频在线观看免费| 激情综合网天天干| 欧美精品视频www在线观看| 国产精品乱码妇女bbbb| 久久超碰97中文字幕| 欧美中文字幕一区二区三区 | 欧美电视剧免费观看| 国产夜色精品一区二区av| 天天影视色香欲综合网老头| 97se狠狠狠综合亚洲狠狠| 久久亚洲二区三区| 日韩av在线播放中文字幕| 色久综合一二码| 中文字幕一区二区三区色视频| 极品少妇一区二区三区精品视频| 欧美久久一区二区| 亚洲成人精品在线观看| 在线观看免费一区| 一区二区免费看| 色狠狠桃花综合| 亚洲免费观看高清| 91黄色激情网站| 亚洲另类春色国产| 在线观看区一区二| 亚洲高清免费在线| 欧美日韩成人综合天天影院| 亚洲成va人在线观看| 欧美在线观看一区| 亚洲国产精品一区二区久久| 欧美中文字幕一区| 五月婷婷综合激情| 日韩一级二级三级| 韩国成人精品a∨在线观看| 26uuu国产一区二区三区| 狠狠色丁香婷婷综合| 久久久午夜精品| 成人一区二区三区视频在线观看 | 中文字幕色av一区二区三区| 成人av中文字幕| 亚洲另类中文字| 欧美色图一区二区三区| 日韩高清国产一区在线| 欧美成人r级一区二区三区| 国产一区二区三区免费播放| 久久精品日韩一区二区三区| 成人av影视在线观看| 一区二区三区在线视频观看| 欧美日韩你懂得| 国产一区二区三区在线看麻豆| 欧美国产成人精品| 在线欧美日韩精品| 久久电影网站中文字幕| 国产欧美精品区一区二区三区| 91浏览器入口在线观看| 日日夜夜免费精品| 国产拍揄自揄精品视频麻豆| 91麻豆自制传媒国产之光| 日本欧美大码aⅴ在线播放| 国产亚洲一区二区三区| 欧美亚洲高清一区二区三区不卡| 美国精品在线观看| 亚洲色图视频免费播放| 91精品一区二区三区在线观看| 国产成人av电影免费在线观看| 亚洲午夜在线视频| 国产亚洲成年网址在线观看| 欧美日韩电影在线| av午夜一区麻豆| 久久99精品国产.久久久久 | 91免费版pro下载短视频| 日韩黄色小视频| 亚洲精品视频一区| 国产亚洲1区2区3区| 欧美精品久久99久久在免费线| 高清国产午夜精品久久久久久| 婷婷开心激情综合| 亚洲色图欧美偷拍| 久久这里只有精品首页| 欧美日韩亚洲丝袜制服| av中文字幕不卡| 韩国av一区二区| 日韩国产高清影视| 亚洲一区二区三区精品在线| 国产校园另类小说区| 欧美一级一级性生活免费录像| 91首页免费视频| 国产精品91一区二区| 蜜桃久久av一区| 日本不卡一二三| 亚洲一区二区在线观看视频| 国产精品久久久久影院| 久久久精品tv| 久久精品视频一区| 久久亚洲欧美国产精品乐播| 精品剧情v国产在线观看在线| 欧美巨大另类极品videosbest | 国产精品66部| 久久99精品久久久久久动态图| 日韩国产欧美三级| 日韩精品一区第一页| 天堂va蜜桃一区二区三区 | 欧洲另类一二三四区| 91小视频在线| 色悠悠久久综合| 色噜噜夜夜夜综合网| 欧美午夜精品免费| 在线欧美小视频| 欧美日韩午夜精品| 7878成人国产在线观看| 在线综合视频播放| 日韩欧美国产电影| 精品久久国产97色综合| 国产日韩欧美亚洲| 中文一区二区在线观看| 国产精品美女久久久久高潮| 国产日产亚洲精品系列| 国产精品乱码一区二三区小蝌蚪| 中文字幕精品在线不卡| 亚洲欧美激情视频在线观看一区二区三区 | 亚洲另类春色校园小说| 一区二区高清免费观看影视大全 | 蜜臀99久久精品久久久久久软件| 日本不卡视频一二三区| 狠狠色狠狠色综合系列| 成人免费毛片片v| 在线免费观看日本一区| 91精选在线观看| 国产午夜精品美女毛片视频| 国产精品久久久一本精品 | 国产高清亚洲一区| 成人免费视频视频| 欧美日韩高清一区二区不卡| 久久久久97国产精华液好用吗| 亚洲天堂2016| 美女诱惑一区二区| 成人小视频在线| 欧美美女黄视频| 国产日韩精品视频一区| 亚洲电影视频在线| 国产99久久久久久免费看农村| 91久久国产最好的精华液| 26uuu亚洲| 午夜久久久久久| 波多野结衣一区二区三区| 欧美日韩大陆在线| 亚洲欧洲美洲综合色网| 久久精品国产精品亚洲红杏| 91免费观看在线|