?? cfg_net.h
字號:
/****************************************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 5 /* 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 5 /* 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
********************************************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -