Adding uIP 1.0

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@310 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-08-26 23:18:13 +00:00
parent 9af3dc30d8
commit 6c0f454b6d
7 changed files with 291 additions and 0 deletions

View File

@ -208,6 +208,33 @@ defconfig -- This is a configuration file similar to the Linux
structures. The system manages a pool of preallocated
watchdog structures to minimize dynamic allocations
TCP/IP support via uIP
CONFIG_NET_UIP - Enable or disable all uIP features
CONFIG_NET_UIP_IPv6 - Build in support for IPv6
CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
CONFIG_UIP_BUFFER_SIZE - uIP buffer size
CONFIG_UIP_LOGGING - Logging on or off
CONFIG_UIP_UDP - UDP support on or off
CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP
connections
CONFIG_UIP_STATISTICS - uIP statistics on or off
CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's
window
CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
CONFIG_UIP_BROADCAST - Broadcast support
CONFIG_UIP_LLH_LEN - The link level header length
CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf)
is defined externally
CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when
looking for duplicates
UIP Network Utilities
CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
Stack and heap information
CONFIG_BOOT_FROM_FLASH - Some configurations support XIP

View File

@ -249,6 +249,50 @@ CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
CONFIG_PREALLOC_TIMERS=8
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=n
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#

View File

@ -238,6 +238,50 @@ CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
CONFIG_PREALLOC_TIMERS=8
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=n
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#

View File

@ -262,6 +262,50 @@ CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
CONFIG_PREALLOC_TIMERS=8
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=n
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#

View File

@ -247,6 +247,50 @@ CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
CONFIG_PREALLOC_TIMERS=8
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=y
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#

View File

@ -235,6 +235,50 @@ CONFIG_MAX_WDOGPARMS=2
CONFIG_PREALLOC_WDOGS=4
CONFIG_PREALLOC_TIMERS=0
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=y
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#

View File

@ -209,6 +209,50 @@ CONFIG_PREALLOC_TIMERS=8
# CONFIG_FAT_SECTORSIZE - Max supported sector size
CONFIG_FS_FAT=y
#
# TCP/IP support via uIP
# CONFIG_NET_UIP - Enable or disable all uIP features
# CONFIG_NET_UIP_IPv6 - Build in support for IPv6
# CONFIG_UIP_MAX_CONNECTIONS - Maximum number of TCP connections
# CONFIG_UIP_MAX_LISTENPORTS - Maximum number of listening TCP ports
# CONFIG_UIP_BUFFER_SIZE - uIP buffer size
# CONFIG_UIP_LOGGING - Logging on or off
# CONFIG_UIP_UDP - UDP support on or off
# CONFIG_UIP_UDP_CHECKSUMS - UDP checksums on or off
# CONFIG_UIP_UDP_CONNS - The maximum amount of concurrent UDP connections
# CONFIG_UIP_STATISTICS - uIP statistics on or off
# CONFIG_UIP_PINGADDRCONF - Use "ping" packet for setting IP address
# CONFIG_UIP_RECEIVE_WINDOW - The size of the advertised receiver's window
# CONFIG_UIP_ARPTAB_SIZE - The size of the ARP table
# CONFIG_UIP_BROADCAST - Broadcast support
# CONFIG_UIP_LLH_LEN - The link level header length
# CONFIG_UIP_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally
# CONFIG_UIP_FWCACHE_SIZE - number of packets to remember when looking for duplicates
CONFIG_NET_UIP=n
CONFIG_NET_UIP_IPv6=n
CONFIG_UIP_MAX_CONNECTIONS=40
CONFIG_UIP_MAX_LISTENPORTS=40
CONFIG_UIP_BUFFER_SIZE=420
CONFIG_UIP_LOGGING=y
CONFIG_UIP_UDP=n
CONFIG_UIP_UDP_CHECKSUMS=y
#CONFIG_UIP_UDP_CONNS=10
CONFIG_UIP_STATISTICS=y
#CONFIG_UIP_PINGADDRCONF=0
#CONFIG_UIP_RECEIVE_WINDOW=
#CONFIG_UIP_ARPTAB_SIZE=8
CONFIG_UIP_BROADCAST=n
#CONFIG_UIP_LLH_LEN=14
CONFIG_UIP_EXTERNAL_BUFFER=n
#CONFIG_UIP_FWCACHE_SIZE=2
#
# UIP Network Utilities
# CONFIG_UIP_DHCP_LIGHT - Reduces size of DHCP
# CONFIG_UIP_RESOLV_ENTRIES - Number of resolver entries
CONFIG_UIP_DHCP_LIGHT=n
CONFIG_UIP_RESOLV_ENTRIES=4
#
# Stack and heap information
#