/* ipmipmn_mib.h - ipmipmn_mib.h */ /* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipmn_mib.h,v $ $Revision: 1.2 $ * $Source: /home/interpeak/CVSRoot/ipmipmn/include/ipmipmn_mib.h,v $ * $Author: joel $ $Date: 2007-08-28 14:54:41 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Joel Hortelius ****************************************************************************** */ #ifndef IPMIPMN_MIB_H #define IPMIPMN_MIB_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* DESCRIPTION No description currently provided */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ #define IPMIPMN_MIB_mnState_home (1) #define IPMIPMN_MIB_mnState_registered (2) #define IPMIPMN_MIB_mnState_pending (3) #define IPMIPMN_MIB_mnState_isolated (4) #define IPMIPMN_MIB_mnState_unknown (5) #define IPMIPMN_MIB_mnAdvFlags_vjCompression (1) #define IPMIPMN_MIB_mnAdvFlags_gre (1<<1) #define IPMIPMN_MIB_mnAdvFlags_minEnc (1<<2) #define IPMIPMN_MIB_mnAdvFlags_foreignAgent (1<<3) #define IPMIPMN_MIB_mnAdvFlags_homeAgent (1<<4) #define IPMIPMN_MIB_mnAdvFlags_busy (1<<5) #define IPMIPMN_MIB_mnAdvFlags_regRequired (1<<6) /* **************************************************************************** * 5 TYPES **************************************************************************** */ struct Ipmipmn_mib_mnSystem { Ip_s32 mnState; struct Ip_in_addr mnHomeAddress; }; struct Ipmipmn_mib_mnHAEntry { struct Ip_in_addr mnHAAddress; Ip_bool mnCurrentHA; Ip_s32 mnHAStatus; }; struct Ipmipmn_mib_mnFAEntry { struct Ip_in_addr mnFAAddress; struct Ip_in_addr mnCOA; }; struct Ipmipmn_mib_mnDiscovery { struct Ip_in_addr mnAdvSourceAddress; Ip_s32 mnAdvSequence; Ip_u32 mnAdvFlags; Ip_s32 mnAdvMaxRegLifetime; Ip_s32 mnAdvMaxAdvLifetime; Ip_u32 mnAdvTimeReceived; }; struct Ipmipmn_mib_mnDiscoveryCounters { Ip_u32 mnSolicitationsSent; Ip_u32 mnAdvertisementsReceived; Ip_u32 mnAdvsDroppedInvalidExtension; Ip_u32 mnAdvsIgnoredUnknownExtension; Ip_u32 mnMoveFromHAToFA; Ip_u32 mnMoveFromFAToFA; Ip_u32 mnMoveFromFAToHA; Ip_u32 mnGratuitousARPsSend; Ip_u32 mnAgentRebootsDectected; }; struct Ipmipmn_mib_mnRegistrationEntry { struct Ip_in_addr mnRegAgentAddress; struct Ip_in_addr mnRegCOA; Ip_u32 mnRegFlags; Ip_s32 mnRegIDLow; Ip_s32 mnRegIDHigh; Ip_s32 mnRegTimeRequested; Ip_u32 mnRegTimeRemaining; Ip_u32 mnRegTimeSent; Ip_bool mnRegIsAccepted; Ip_bool mnCOAIsLocal; }; struct Ipmipmn_mib_mnRegistrationCounters { Ip_u32 mnRegRequestsSent; Ip_u32 mnDeRegRequestsSent; Ip_u32 mnRegRepliesRecieved; Ip_u32 mnDeRegRepliesRecieved; Ip_u32 mnRepliesInvalidHomeAddress; Ip_u32 mnRepliesUnknownHA; Ip_u32 mnRepliesUnknownFA; Ip_u32 mnRepliesInvalidID; Ip_u32 mnRepliesDroppedInvalidExtension; Ip_u32 mnRepliesIgnoredUnknownExtension; Ip_u32 mnRepliesHAAuthenticationFailure; Ip_u32 mnRepliesFAAuthenticationFailure; Ip_u32 mnRegRequestsAccepted; Ip_u32 mnRegRequestsDeniedByHA; Ip_u32 mnRegRequestsDeniedByFA; Ip_u32 mnRegRequestsDeniedByHADueToID; Ip_u32 mnRegRequestsWithDirectedBroadcast; }; /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */