1/* 2 * Copyright 2004, Broadcom Corporation 3 * All Rights Reserved. 4 * 5 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY 6 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM 7 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS 8 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. 9 * 10 * $Id: wanppp.h,v 1.1.1.1 2008/10/15 03:31:35 james26_jang Exp $ 11 */ 12 13#if !defined(_wanppp_h_) 14#define _wanppp_h_ 15 16 17#define VAR_ConnectionType 0 18#define VAR_PossibleConnectionTypes 1 19#define VAR_ConnectionStatus 2 20#define VAR_Uptime 3 21#define VAR_UpstreamMaxBitRate 4 22#define VAR_DownstreamMaxBitRate 5 23#define VAR_LastConnectionError 6 24#define VAR_IdleDisconnectTime 7 25#define VAR_RSIPAvailable 8 26#define VAR_NATEnabled 9 27#define VAR_UserName 10 28#define VAR_Password 11 29#define VAR_ExternalIPAddress 12 30#define VAR_PortMappingNumberOfEntries 13 31#define VAR_PortMappingEnabled 14 32#define VAR_PortMappingLeaseDuration 15 33#define VAR_RemoteHost 16 34#define VAR_ExternalPort 17 35#define VAR_InternalPort 18 36#define VAR_PortMappingProtocol 19 37#define VAR_InternalClient 20 38#define VAR_PortMappingDescription 21 39 40int WANPPPConnection_GetVar(struct Service *psvc, int varindex); 41 42#endif /* _wanppp_h_ */ 43