www.pudn.com > ARM_Ethernet.rar > CFG_NET.h, change:2005-12-29,size:2829b


/****************************************Copyright (c)************************************************** 
**                               Guangzou ZLG-MCU Development Co.,LTD. 
**                                      graduate school 
**                                 http://www.zlgmcu.com 
** 
**--------------File Info------------------------------------------------------------------------------- 
** File name:			cfg_net.h 
** Last modified Date:	2004-11-25 
** Last Version:		1.0 
** Descriptions:		configration file of the ZLGIP tcpip stacks 
**------------------------------------------------------------------------------------------------------ 
** Created by:			Yehaoben 
** Created date:		2004-11-25 
** Version:				1.0 
** Descriptions:		The original version 
** 
**------------------------------------------------------------------------------------------------------ 
** Modified by:  
** Modified date: 
** Version:	 
** Descriptions:  
** 
********************************************************************************************************/ 
/* 
********************************************************************************************************* 
*                                         ZLGIP CONFIGURATION 
********************************************************************************************************* 
*/ 
/*****  ethernet  ******/ 
#define MAX_NET_PORT	1		/* MAXIM OF THE NETWORK INTERFACE  ( == 1 ) */ 
#define MAX_NET_REC_LEN	1536	/* MAX SIZE OF THE NETWORK FRAME LENGTH . ( <= 1536 ) */ 
#define MAX_REC_BUFF 	4		/* How many frames that the recive buffer can save. ( >= 2 ) */ 
 
/*******  arp  **********/ 
#define MAX_ARP_TERM	30		/* How many MAC address can be save . it define in think about the network */ 
 
/*******  udp  **********/ 
#define UdpMaxDataLen 	1478    /* Max udp data length in one frame. Less then MAX_NET_REC_LEN and ( <= 1478 ) */ 
#define UdpMaxRec		3 		/* How many UDP frames can be saved. Less then MAX_REC_BUFF and ( >= 1 ) */ 
#define MAX_UDP_LINKS	8 		/* How many UDP socket can be created. ( >= 1 ) */ 
 
/*******  tcp  **********/ 
#define	MAX_TCP_DATA	1460	/* Max tcp data length in one frame. Less then MAX_NET_REC_LEN and ( <= 1460 ) */ 
#define MAX_TCP_LINKS   8		/* How many tcp links can be connected. ( >= 1 ) */ 
#define	MY_TCP_WIN		2048	/* Tcp connection recive data buffer size ( 1 <= MY_TCP_WIN  <= 65535 ) */ 
/************************/ 
 
#define MAC_FORM_EEPROM		0	/* if get mac address form iic eeprom ,the value must be 1*/ 
 
#define Little_End				/* CPU working mode */ 
 
/********************************************************************************************************* 
**                            End Of File 
********************************************************************************************************/