126 lines
4.4 KiB
C
126 lines
4.4 KiB
C
/* ipmipha_mib.h - ipmipha_mib.h */
|
|
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha_mib.h,v $ $Revision: 1.2 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmipha/include/ipmipha_mib.h,v $
|
|
* $Author: joel $ $Date: 2007-08-28 14:54:56 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIPHA_MIB_H
|
|
#define IPMIPHA_MIB_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
/*
|
|
DESCRIPTION
|
|
|
|
No description currently provided
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_reasonUnspecified (128)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_admProhibited (129)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_insufficientResource (130)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_mnAuthenticationFailure (131)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_faAuthenticationFailure (132)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_idMismatch (133)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_poorlyFormedRequest (134)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_tooManyBindings (135)
|
|
#define IPMIPHA_MIB_haRecentServiceDeniedCode_unknownHA (136)
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
struct Ipmipha_mib_haMobilityBindingEntry
|
|
{
|
|
struct Ip_in_addr haMobilityBindingMN;
|
|
struct Ip_in_addr haMobilityBindingCOA;
|
|
struct Ip_in_addr haMobilityBindingSourceAddress;
|
|
Ip_u32 haMobilityBindingRegFlags;
|
|
Ip_s32 haMobilityBindingRegIDLow;
|
|
Ip_s32 haMobilityBindingRegIDHigh;
|
|
Ip_s32 haMobilityBindingTimeGranted;
|
|
Ip_u32 haMobilityBindingTimeRemaining;
|
|
};
|
|
|
|
struct Ipmipha_mib_haCounterEntry
|
|
{
|
|
Ip_u32 haServiceRequestsAccepted;
|
|
Ip_u32 haServiceRequestsDenied;
|
|
Ip_u32 haOverallServiceTime;
|
|
Ip_u32 haRecentServiceAcceptedTime;
|
|
Ip_u32 haRecentServiceDeniedTime;
|
|
Ip_s32 haRecentServiceDeniedCode;
|
|
};
|
|
|
|
struct Ipmipha_mib_haRegNodeCounters
|
|
{
|
|
Ip_u32 haRegistrationAccepted;
|
|
Ip_u32 haMultiBindingUnsupported;
|
|
Ip_u32 haReasonUnspecified;
|
|
Ip_u32 haAdmProhibited;
|
|
Ip_u32 haInsufficientResource;
|
|
Ip_u32 haMNAuthenticationFailure;
|
|
Ip_u32 haFAAuthenticationFailure;
|
|
Ip_u32 haIDMismatch;
|
|
Ip_u32 haPoorlyFormedRequest;
|
|
Ip_u32 haTooManyBindings;
|
|
Ip_u32 haUnknownHA;
|
|
Ip_u32 haGratuitiousARPsSent;
|
|
Ip_u32 haProxyARPsSent;
|
|
Ip_u32 haRegRequestsReceived;
|
|
Ip_u32 haDeRegRequestsReceived;
|
|
Ip_u32 haRegRepliesSent;
|
|
Ip_u32 haDeRegRepliesSent;
|
|
};
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|