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

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

?? opt.h

?? 一個單片機實現以太網通信的程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 * 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"
#include "lib.h" // add by zhigang 2004-2-1

/* 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                   1
#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                        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                4
#endif
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
   connections. */
#ifndef MEMP_NUM_TCP_PCB
#define MEMP_NUM_TCP_PCB                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                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              8
#endif

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

#ifndef PBUF_POOL_SIZE
#define PBUF_POOL_SIZE                  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 enabled, the first packet queued will not be overwritten by
 * later packets. If disabled, later packets overwrite early packets
 * in the queue. Default is disabled, which is recommended. 
 */
#ifndef ARP_QUEUE_FIRST
#define ARP_QUEUE_FIRST                 0
#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 ---------- */
#ifndef LWIP_UDP
#define LWIP_UDP                        1
#endif

#ifndef UDP_TTL
#define UDP_TTL                         255
#endif

/* ---------- TCP options ---------- */
#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. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区白人| 国产午夜一区二区三区| 国产精品亚洲专一区二区三区| 一区二区三区精品在线观看| 日韩毛片精品高清免费| 亚洲视频 欧洲视频| 亚洲色图欧美偷拍| 一区二区三区鲁丝不卡| 亚洲成人激情自拍| 日韩激情一区二区| 精品中文字幕一区二区小辣椒| 精品中文字幕一区二区| 国产激情一区二区三区| 99久久伊人精品| 91国产免费观看| 91精品国产欧美一区二区成人 | 久久不见久久见中文字幕免费| 午夜精品福利在线| 91精品国产黑色紧身裤美女| 亚洲午夜影视影院在线观看| 亚洲国产欧美在线| 日本在线播放一区二区三区| 久久99精品久久久久久动态图 | 亚洲成人1区2区| 精品一区二区免费在线观看| 国产成人在线看| 91久久精品一区二区三区| 欧美日韩国产高清一区二区三区| 欧美一区二区三区在线观看| 久久精品视频免费| 亚洲卡通欧美制服中文| 麻豆91在线观看| 国产不卡一区视频| 91国内精品野花午夜精品| 日韩免费电影网站| 中文字幕一区视频| 蜜臀久久久久久久| 一本色道亚洲精品aⅴ| 日韩精品一区二区三区视频在线观看| 国产欧美日韩不卡免费| 亚洲电影一级黄| 成人性生交大片免费看视频在线 | 欧美日本一区二区在线观看| 精品久久久影院| 亚洲精品中文在线| 国产精品小仙女| 欧美日韩国产在线播放网站| 欧美国产日韩亚洲一区| 免费欧美高清视频| 一本色道亚洲精品aⅴ| 久久精品亚洲精品国产欧美kt∨| 亚洲美女一区二区三区| 国产精品中文字幕一区二区三区| 在线观看日韩毛片| 精品免费视频一区二区| 不卡的av中国片| 国产超碰在线一区| 欧美一区二区私人影院日本| 国产精品久久国产精麻豆99网站| 日韩成人一区二区| 在线视频一区二区三区| 欧美激情一区二区在线| 久久不见久久见免费视频1| 欧美三级电影一区| 国产精品高清亚洲| 国产成人在线免费观看| 精品美女被调教视频大全网站| 亚洲自拍偷拍麻豆| 97se亚洲国产综合自在线| 国产精品卡一卡二| 国产91露脸合集magnet| 久久先锋影音av鲁色资源| 精品在线免费视频| 欧美一级精品在线| 男女视频一区二区| 日韩一区二区精品葵司在线| 日韩电影免费在线看| 在线免费精品视频| 一区二区免费在线| 欧美在线|欧美| 亚洲综合在线电影| 在线观看视频91| 天使萌一区二区三区免费观看| 欧美最猛黑人xxxxx猛交| 一区二区三区在线视频观看| 91啪亚洲精品| 一区二区激情小说| 欧美精品一二三| 激情另类小说区图片区视频区| 91精品婷婷国产综合久久性色| 日韩精品国产欧美| www亚洲一区| 丁香天五香天堂综合| 亚洲欧洲av一区二区三区久久| a4yy欧美一区二区三区| 亚洲天堂网中文字| 视频一区国产视频| 亚洲一区日韩精品中文字幕| 国产不卡在线一区| 亚洲欧洲精品天堂一级| 日本高清视频一区二区| 午夜精品免费在线观看| 欧美va在线播放| 成人免费黄色大片| 亚洲国产精品尤物yw在线观看| 欧美肥妇bbw| 国产一区二区调教| 夜夜爽夜夜爽精品视频| 日韩一区二区在线观看视频 | 日本系列欧美系列| 老鸭窝一区二区久久精品| 麻豆视频观看网址久久| 欧美精品粉嫩高潮一区二区| 亚洲v精品v日韩v欧美v专区| 制服.丝袜.亚洲.另类.中文| 国产一区二区精品久久99| 中文字幕在线观看一区| 在线成人av网站| 成人午夜激情在线| 亚洲第一激情av| 国产婷婷色一区二区三区| 色琪琪一区二区三区亚洲区| 蜜桃视频免费观看一区| 中文字幕在线免费不卡| 日韩欧美专区在线| 色噜噜狠狠一区二区三区果冻| 寂寞少妇一区二区三区| 亚洲影院免费观看| 国产亚洲精品久| 日韩三级在线观看| 欧美最猛黑人xxxxx猛交| 国产91对白在线观看九色| 久久99久久99小草精品免视看| 中文在线一区二区| xfplay精品久久| 欧美狂野另类xxxxoooo| www.欧美日韩国产在线| 久久99久久久久| 日韩激情在线观看| 亚洲综合男人的天堂| 亚洲特级片在线| 中文一区二区完整视频在线观看| 日韩欧美123| 91精品国产综合久久精品app| 在线观看免费亚洲| 91视视频在线观看入口直接观看www | 在线观看精品一区| 亚洲精品日韩综合观看成人91| 日韩精品最新网址| 欧美日韩中文国产| 一本大道久久精品懂色aⅴ| 国产精品1024| 国产一区二区精品久久| 麻豆免费看一区二区三区| 爽好久久久欧美精品| 亚洲电影一区二区| 亚洲一区二区高清| 亚洲一区二区免费视频| 亚洲高清免费视频| 亚洲图片欧美色图| 亚洲综合色噜噜狠狠| 亚洲成人综合网站| 石原莉奈一区二区三区在线观看| 亚洲午夜精品久久久久久久久| 亚洲欧美电影一区二区| 亚洲免费色视频| 亚洲综合成人网| 午夜天堂影视香蕉久久| 欧美aaa在线| 激情综合一区二区三区| 国产91丝袜在线播放| 91在线视频网址| 欧美在线高清视频| 欧美电影免费观看高清完整版在线 | 欧美日韩电影一区| 欧美一区二区国产| 久久久久久久久免费| 18欧美乱大交hd1984| 亚洲午夜久久久久久久久电影院| 日本在线不卡视频| 国产精品白丝av| 91污在线观看| 欧美高清dvd| 亚洲国产精品av| 视频一区视频二区中文字幕| 久久国产精品色| 91免费精品国自产拍在线不卡| 欧美色精品在线视频| 精品处破学生在线二十三| 国产精品免费人成网站| 亚洲国产视频网站| 激情文学综合插| 在线观看欧美日本| 久久久综合精品| 亚洲mv在线观看| 懂色av一区二区夜夜嗨| 91精品国产一区二区人妖| 自拍偷拍国产亚洲| 国产真实乱偷精品视频免| 欧美日韩中文字幕精品|