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

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

?? opt.h

?? Modbus協議的源代碼 Modbus協議的源代碼、 Modbus協議的源代碼 Modbus協議的源代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
 * Copyright (c) 2001-2004 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 user defined options first */
#include "lwipopts.h"
#include "lwip/debug.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                   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

#ifndef MEMP_SANITY_CHECK
#define MEMP_SANITY_CHECK       0
#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

/* Number of raw connection PCBs */
#ifndef MEMP_NUM_RAW_PCB
#define MEMP_NUM_RAW_PCB                4
#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. Defaults to 14 for Ethernet. */

#ifndef PBUF_LINK_HLEN
#define PBUF_LINK_HLEN                  14
#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.
 *
 * This feature has not stabilized yet. Single-packet queueing is
 * believed to be stable, multi-packet queueing is believed to
 * clash with the TCP segment queueing.
 * 
 * As multi-packet-queueing is currently disabled, enabling this
 * _should_ work, but we need your testing feedback on lwip-users.
 *
 */
#ifndef ARP_QUEUEING
#define ARP_QUEUEING                    1
#endif

/* This option is deprecated */
#ifdef ETHARP_QUEUE_FIRST
#error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h.
#endif

/* This option is removed to comply with the ARP standard */
#ifdef ETHARP_ALWAYS_INSERT
#error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
#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

/* ---------- RAW options ---------- */

#ifndef LWIP_RAW
#define LWIP_RAW                        1
#endif

#ifndef RAW_TTL
#define RAW_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. */

/* 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

/* Support loop interface (127.0.0.1) */
#ifndef LWIP_HAVE_LOOPIF
#define LWIP_HAVE_LOOPIF                0
#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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
无码av中文一区二区三区桃花岛| 国内精品免费在线观看| 免费美女久久99| 成人免费毛片a| 91精品欧美久久久久久动漫| 国产精品久久久久久久久免费相片| 亚洲成人黄色影院| av电影在线不卡| 久久精品网站免费观看| 亚洲第一久久影院| 91麻豆免费看| 国产精品色哟哟网站| 久久99久久精品| 日韩一区二区电影网| 亚洲一区在线观看视频| 99riav久久精品riav| 久久一二三国产| 精品一区二区三区在线观看国产| 欧美剧情片在线观看| 亚洲综合色噜噜狠狠| av亚洲产国偷v产偷v自拍| 久久久久久久性| 国产综合久久久久久鬼色 | 欧美一级久久久久久久大片| 亚洲精品日韩一| 99精品视频在线免费观看| 国产欧美综合色| 国产成人av在线影院| 久久先锋影音av| 国产成人在线电影| 久久久噜噜噜久久人人看| 国产一区二区调教| 久久久久久综合| 国产99久久久国产精品 | 51精品久久久久久久蜜臀| 亚洲综合视频在线| 欧美午夜理伦三级在线观看| 亚洲成人免费观看| 欧美放荡的少妇| 久久91精品久久久久久秒播| 欧美精品一区视频| 国产乱码字幕精品高清av| 久久精品欧美一区二区三区麻豆| 粉嫩欧美一区二区三区高清影视| 国产日产欧产精品推荐色| 国产高清成人在线| 最好看的中文字幕久久| 欧美亚洲综合一区| 丝袜亚洲精品中文字幕一区| 日韩精品中文字幕在线一区| 激情久久久久久久久久久久久久久久| 久久综合狠狠综合久久激情| 成人激情黄色小说| 一区二区三区产品免费精品久久75| 欧美亚洲综合在线| 久久精品国产第一区二区三区| 久久久天堂av| 色爱区综合激月婷婷| 天天综合日日夜夜精品| 久久日一线二线三线suv| 99久久精品一区| 视频在线观看国产精品| 久久婷婷成人综合色| 91精品福利在线| 久久66热偷产精品| 亚洲色图欧洲色图婷婷| 91精品在线免费| 成人免费高清视频在线观看| 亚洲在线视频网站| 久久久欧美精品sm网站| 91久久精品一区二区三| 久久精品国产免费| 亚洲精品日韩专区silk| 久久综合九色欧美综合狠狠| 欧美无乱码久久久免费午夜一区| 国产在线精品不卡| 五月天激情综合网| 国产精品久久三| 日韩欧美成人一区| 色就色 综合激情| 国产一区二区日韩精品| 亚洲国产综合人成综合网站| 久久精品夜色噜噜亚洲aⅴ| 欧美三级蜜桃2在线观看| 国产精选一区二区三区| 日本午夜精品视频在线观看| 最新国产成人在线观看| 久久精品一区四区| 日韩精品一区二区在线| 在线观看www91| av电影在线观看一区| 国产成人免费视频网站| 久久精品久久99精品久久| 香蕉成人啪国产精品视频综合网| 国产精品国产自产拍高清av| 日韩一级免费一区| 欧美丰满少妇xxxbbb| 在线视频一区二区三| 91丝袜美女网| 成人av电影观看| 国产乱人伦偷精品视频不卡| 久久精品国产精品亚洲综合| 奇米色一区二区三区四区| 午夜精品免费在线| 亚洲第一激情av| 午夜免费欧美电影| 亚洲国产日韩一区二区| 一区二区三区在线影院| 亚洲激情av在线| 亚洲男同性视频| 亚洲综合小说图片| 一区二区三区精品| 亚洲高清在线视频| 天堂久久一区二区三区| 五月天视频一区| 免费日本视频一区| 激情综合亚洲精品| 国产在线精品国自产拍免费| 国产精品1024久久| 国产在线精品免费| 成人深夜视频在线观看| 粉嫩av一区二区三区粉嫩| 粉嫩av一区二区三区| 成人avav影音| 在线看国产一区| 欧美情侣在线播放| 日韩欧美在线综合网| 精品成人免费观看| 国产欧美日韩精品在线| 国产欧美1区2区3区| 日韩一区中文字幕| 亚洲成人综合视频| 免费不卡在线视频| 国产精品一线二线三线| 99久久精品国产麻豆演员表| 欧美午夜精品免费| 精品久久99ma| 国产精品乱码人人做人人爱| 亚洲精品成人悠悠色影视| 亚洲成av人片www| 精品一区二区免费在线观看| 中文字幕乱码亚洲精品一区 | 韩国精品一区二区| 成人h动漫精品一区二| 欧美日韩精品三区| 精品粉嫩超白一线天av| 成人欧美一区二区三区黑人麻豆| 一区二区三区在线高清| 免费一级欧美片在线观看| 成人动漫一区二区在线| 欧美视频在线一区| 久久久久国产成人精品亚洲午夜| 国产女同互慰高潮91漫画| 亚洲成人激情社区| 国产精品白丝jk白祙喷水网站 | 亚洲资源在线观看| 精品一区在线看| 91久久久免费一区二区| 欧美成人一区二区三区在线观看| 中文字幕一区二区日韩精品绯色| 亚洲国产视频一区| 懂色av中文字幕一区二区三区| 在线观看中文字幕不卡| 久久网站热最新地址| 午夜精品免费在线观看| 99久久伊人久久99| 欧美大黄免费观看| 亚洲精品视频免费看| 国产一区免费电影| 欧美精品视频www在线观看| 国产色91在线| 免费观看在线综合色| 91麻豆免费看| 欧美韩日一区二区三区| 激情综合网av| 欧美高清视频一二三区 | 成人不卡免费av| 日韩欧美国产一区二区在线播放 | 中文字幕免费不卡在线| 看电视剧不卡顿的网站| 91精品蜜臀在线一区尤物| 亚洲人精品午夜| av激情亚洲男人天堂| 亚洲国产精品二十页| 国产一区二区三区| 精品日韩一区二区三区| 免费高清在线一区| 日韩一区和二区| 久久精品国产亚洲高清剧情介绍| 欧美亚洲一区二区在线| 亚洲精品高清视频在线观看| 97精品久久久午夜一区二区三区| 日本一区二区成人| 丁香桃色午夜亚洲一区二区三区| 精品国产污污免费网站入口 | 亚洲一区av在线| 欧美综合视频在线观看| 亚洲欧美日韩久久精品| 91久久精品一区二区二区| 亚洲激情av在线|