lwip_net.cdl
来自「ecos cvs version lwip-tcpip nat addon pa」· CDL 代码 · 共 712 行 · 第 1/2 页
CDL
712 行
description " TCP Maximum segment size." } cdl_option CYGNUM_LWIP_TCP_SND_BUF { display "Sender buffer space" flavor data default_value 2048 description " TCP sender buffer space (bytes)." } cdl_option CYGNUM_LWIP_TCP_SND_QUEUELEN { display "Sender pbufs" flavor data calculated CYGPKG_LWIP_TCP ? "4 * CYGNUM_LWIP_TCP_SND_BUF/CYGNUM_LWIP_TCP_MSS" : 0 description " TCP sender buffer space (pbufs). This must be at least = 2 * TCP_SND_BUF/TCP_MSS for things to work." } cdl_option CYGNUM_LWIP_TCP_WND { display "Receive window" flavor data default_value 4096 description " TCP receive window." } cdl_option CYGNUM_LWIP_TCP_MAXRTX { display "Segment retransmissions" flavor data default_value 12 description " Maximum number of retransmissions of data segments." } cdl_option CYGNUM_LWIP_TCP_SYNMAXRTX { display "Syn retransmissions" flavor data default_value 4 description " Maximum number of retransmissions of SYN segments." } } cdl_component CYGPKG_LWIP_ARP_OPTIONS { display "ARP" flavor none no_define cdl_option CYGNUM_LWIP_ARP_TABLE_SIZE { display "ARP table size" flavor data default_value 10 description "" } } cdl_component CYGPKG_LWIP_IP { display "IP" flavor none no_define cdl_option CYGFUN_LWIP_IP_FORWARD { display "Support IP forwarding" flavor bool default_value 1 description " Enable this option 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, disable this option." } cdl_option CYGFUN_LWIP_IP_OPTIONS { display "Allow IP options" flavor bool default_value 1 description " If enabled, IP options are allowed (but not parsed). If disabled, all packets with IP options are dropped." } cdl_option CYGFUN_LWIP_IP_FRAG { display "Support IP fragmentation" flavor bool default_value 1 description " " } cdl_option CYGFUN_LWIP_IP_REASS { display "Support IP reassembly" flavor bool default_value 1 description " " } } cdl_component CYGPKG_LWIP_ICMP_OPTIONS { display "ICMP" flavor none no_define cdl_option CYGNUM_LWIP_ICMP_TTL { display "ICMP Time To Live" flavor data default_value 255 description "" } } cdl_component CYGPKG_LWIP_DHCP { display "DHCP" flavor bool requires CYGPKG_LWIP_UDP default_value 0 requires { CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT >= 6 } description " Provide DHCP support for initializing the IP address of network interfaces." compile core/dhcp.c cdl_option CYGOPT_LWIP_DHCP_MANAGEMENT { display "DHCP management" flavor bool default_value 1 description " If enabled then the lwIP stack automatically calls dhcp_start(), dhcp_fine_tmr() and dhcp_coarse_tmr(). The DHCP stuff is handled in the TCP/IP thread. If this causes trouble on high traffic loads or if the application need to be aware of the DHCP state then it is better to disable this option. In this case managing the DHCP state in an application aware thread is recommended." } cdl_option CYGOPT_LWIP_DHCP_DOES_ARP_CHECK { display "Check offered address" flavor bool default_value 1 description " Enable this option if you want to do an ARP check on the offered address (recommended)." } } cdl_component CYGFUN_LWIP_LOOPIF { display "Support loop interface (127.0.0.1)" flavor bool default_value 1 compile netif/loopif.c } cdl_component CYGPKG_LWIP_ETH { display "Ethernet support" flavor bool requires CYGPKG_IO_ETH_DRIVERS default_value 1 description "Ethernet support" compile netif/etharp.c cdl_option CYGNUM_LWIP_ETH_THREAD_PRIORITY { display "ethernet input thread priority" flavor data default_value 6 description "Priority of the thernet input thread" } } cdl_option CYGNUM_LWIP_NETWORK_THREAD_PRIORITY { display "Network thread priority" flavor data default_value 7 description "Priority of the lwIP network thread.This thread handles all API messages and network packets." } cdl_component CYGPKG_LWIP_SLIP { display "SLIP" flavor bool requires CYGPKG_IO_SERIAL_DEVICES default_value 0 description "IP over Serial Line" compile netif/slipif.c ecos/sio.c cdl_option CYGNUM_LWIP_SLIPIF_THREAD_PRIORITY { display "SLIP thread priority" flavor data default_value 8 description "Priority of the SLIP input thread" } cdl_option CYGDAT_LWIP_SLIP_DEV { display "Serial device" flavor data default_value {"\"/dev/ser0\""} description " Which serial port to use SLIP on." } } cdl_component CYGPKG_LWIP_PPP { display "PPP" flavor bool requires CYGPKG_IO_SERIAL_DEVICES default_value 0 description "The Point-to-Point Protocol" compile netif/ppp/ppp.c \ netif/ppp/auth.c \ netif/ppp/chpms.c \ netif/ppp/fsm.c \ netif/ppp/ipcp.c \ netif/ppp/lcp.c \ netif/ppp/magic.c \ netif/ppp/md5.c \ netif/ppp/randm.c \ netif/ppp/vj.c \ ecos/sio.c cdl_option CYGIMP_LWIP_PPP_PAP_AUTH { display "Support PAP authentication" flavor bool default_value 1 compile netif/ppp/pap.c } cdl_option CYGIMP_LWIP_PPP_CHAP_AUTH { display "Support CHAP authentication" flavor bool default_value 1 compile netif/ppp/chap.c } cdl_option CYGDAT_LWIP_PPP_DEV { display "Serial device for PPP" flavor data default_value {"\"/dev/ser0\""} description " Which serial port to use PPP on." } cdl_option CYGNUM_LWIP_PPP_THREAD_PRIORITY { display "PPP main thread priority" flavor data default_value 8 description "Priority of the PPP input thread" } } cdl_component CYGPKG_LWIP_NAT { display "Nat" flavor bool default_value 0 description "The Network Address Translation" compile netif/nat/nat.c \ netif/nat/nat_memp.c } cdl_component CYGPKG_LWIP_UDP { display "UDP" flavor bool default_value 1 description "Support UDP protocol." compile core/udp.c cdl_option CYGNUM_LWIP_UDP_TTL { display "Time To Live" flavor data default_value 255 description "" } } cdl_option CYGFUN_LWIP_RAW { display "Enable RAW socket support" flavor bool default_value 1 description "" compile core/raw.c } cdl_option CYGFUN_LWIP_COMPAT_SOCKETS { display "Provide compatible socket API" flavor bool default_value 1 description " The lwIP socket API uses defines to map the lwip socket functions (lwip_accept(), lwip_bind(), lwip_listen()...) to BSD like names (accept(), bind(), listen()...). If this causes trouble or naming conficts for your application, then disable this option" } cdl_component CYGPKG_LWIP_APP_MEM_OPTIONS { display "Memory options for apps" flavor none no_define description "Memory options for applications." cdl_option CYGNUM_LWIP_VARMEMPOOL_SIZE { display "Size of variable memory pool" flavor data default_value 2048 description " Memory required to hold semaphore, mbox and thread structures are allocated from this memory pool. " } cdl_option CYGNUM_LWIP_APP_THREADS { display "Number of network threads in application" flavor data default_value 1 description " At startup at least two lwIP threads are created:the polling(input) thread and the TCP/IP (output) thread.Additionally your application creates one or more threads. Set this option to the maximum number of threads you will create through sys_thread_new().Threads which you create through cyg_thread_create() are not lwIP threads and don't count.This number is needed so that enough static memory is reserved for stack space. " } cdl_option CYGNUM_LWIP_THREAD_STACK_SIZE { display "Size of per thread stack in lwIP" flavor data default_value 4096 description " Since stack space for threads needs to be statically allocated you can specify the amount of memory to use for each network thread. " } } cdl_option CYGPKG_NET_LWIP_TESTS { display "Some lwIP tests" flavor data no_define calculated { "tests/tcpecho tests/udpecho tests/httpd tests/socket tests/nc_test_slave tests/sys_timeout" } description " This option specifies the set of tests for lwIP.They show the usage of the raw, the sequential and the BSD socket compatible APIs" } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?