| /************************************************************* |
| * |
| * This Software is the property of VIA Telecom, Inc. and may only be used pursuant to a license from VIA Telecom, Inc. |
| * |
| * Any unauthorized use inconsistent with the terms of such license is strictly prohibited. |
| * |
| * Copyright (c) 2002-2010 VIA Telecom, Inc. All rights reserved. |
| * |
| *************************************************************/ |
| /************************************************************************* |
| * |
| * File Name: 7074cust.h |
| * Project: NSPE stack |
| * |
| * Original Author: Steve Pye |
| * Creation Date: July 13, 1998 |
| * |
| * Description: |
| * Restrictions: |
| * Dependencies: |
| * |
| ************************************************************************* |
| * |
| * This Software is the property of ISOTEL Research Ltd. |
| * Unauthorized use is prohibited. |
| * |
| * ISOTEL Research Ltd. |
| * Suite 340, 525 - 28th Street S.E. |
| * Calgary, Alberta, Canada T2A 6W9 |
| * Tel: (403)275-0041 Fax: (403)274-3598 |
| * |
| * |
| ************************************************************************/ |
| |
| #ifndef _7074CUST_H_ |
| #define _7074CUST_H_ 1 |
| |
| |
| /* this size is the number of bytes in the mbuf pool */ |
| #ifdef SYS_OPTION_DATA_RAM_INUSE |
| #define IS707_MBUF_POOL_SIZE 30000 |
| #else |
| #define IS707_MBUF_POOL_SIZE 1 |
| #endif |
| |
| /* Currently this parameter does not affect the code. |
| The parameter of interest is M_HIGHPERCENT, |
| defined in ip_mbuf.h. */ |
| #define IS707_MBUF_HPERCENT 50 |
| |
| /* Currently this parameter does not affect the code. |
| The parameter of interest is M_LOWPERCENT, |
| defined in ip_mbuf.h. */ |
| #define IS707_MBUF_LPERCENT 25 |
| |
| /* this is the buffer that is filled on a bios7074AppIntRxInd call */ |
| #ifdef SYS_OPTION_DATA_RAM_INUSE |
| #define IS707_APPINT_RX_BUFFERSIZE 1536 |
| #define IS707_BROSWER_RX_BUFFERSIZE 1600 |
| #else |
| #define IS707_APPINT_RX_BUFFERSIZE 1 |
| #define IS707_BROSWER_RX_BUFFERSIZE 1 |
| #endif |
| |
| /* These are in the IS-707 spec. but we put them here anyway */ |
| #define IS707_MODEM_CLIENT_PORT 379 |
| #define IS707_MODEM_SERVER_PORT 380 |
| |
| /* time-to-live value as defined in IS-707.4 */ |
| #define IS707_IP_TTL_DEFAULT (0xfe) |
| |
| |
| /* For TCP/IP data transfers, this is the number of |
| retransmission attempts before a connection is abandoned. |
| This value is valid only during connection initialization. */ |
| #define IS707_TCP_INIT_RETRANSMIT_ATTEMPTS 25 |
| |
| /* The maximum size that client can request TCP to send |
| received data across. */ |
| #define IS_707_TCP_MAX_RECV_SIZE 1500 |
| /* For TCP/IP data transfers, this is the number of |
| retransmission attempts before a current connection |
| is abandoned. This value is valid only after a |
| connection is established */ |
| #define IS707_TCP_RETRANSMIT_ATTEMPTS 10 |
| /* receive buffer size for UDP*/ |
| |
| #define Max_Browser_RxInd_Length 500 |
| |
| #ifdef SYS_OPTION_NTWKRMPKT_RAM_INUSE |
| #define USE_NAT 1 /* To use Network Rm Packet */ |
| #endif |
| |
| |
| #endif /* _7074CUST_H_ */ |