Welcome![Sign In][Sign Up]
Location:
Search - uip-conf.h

Search list

[Embeded-SCM Developuip-0.9.tar

Description: uIP0.9版本,是一个可以移植到8位或者16位的TCP/IP包,里面有使用说明和使用例子。-uIP0.9 version, is a transplant to eight or 16 of the TCP/IP packets, and they use and the use of examples.
Platform: | Size: 1303552 | Author: 郑旭明 | Hits:

[SCMuip_avr

Description: 移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程,包括 uip 目录的文件(除uip-split.c)、unix 目录的文件、lib 目录的文件; 2)修改 uip/uip-neighbor.c 文件的 void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr) 函数,一般注释掉 printf 语句即可,或者改为你自己的串口格式化打印实现。 3)uip 目录里的源文件除 uipopt.h 外一般都无需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在 uip-conf.h 里进行。 uip-conf.h 里加入如下定义,可以减少编译的警告: #define notdef 0 #define UIP_CONF_IPV6 0 #define UIP_ARCH_ADD32 0 #define UIP_ARCH_CHKSUM 0 #define UIP_NEIGHBOR_CONF_ADDRTYPE 0 4)移植工作主要是 定时器中断程序 与 网络驱动 的编写-1) to the uip-1.0 added to the works of all documents, including documents uip directory (except uip-split.c), unix file directories, lib directories of documents 2) Revise the uip/uip-neighbor.c documents void uip_neighbor_add (uip_ipaddr_t ipaddr, struct uip_neighbor_addr* addr) Function printf statements generally can be commented out or changed to your own print serial format to achieve. 3) uip the source file directory in addition to uipopt.h generally no need to change things uipopt.h contains uip-conf.h, most modifications can be uip-conf.h conducted. uip-conf.h to add the following definition, can reduce the compiler warning: # define notdef 0 # define UIP_CONF_IPV6 0 # define UIP_ARCH_ADD32 0 # define UIP_ARCH_CHKSUM 0 # define UIP_NEIGHBOR_CONF_ADDRTYPE 0 4) transplantation is a timer interrupt work process with the preparation of a network drive
Platform: | Size: 420864 | Author: yuangaoping | Hits:

CodeBus www.codebus.net