original files of m241
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
/* ipmipha.h - ipmipha.h *//*
|
||||
******************************************************************************
|
||||
* INTERPEAK HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha.h,v $ $Revision: 1.20 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipmipha/include/ipmipha.h,v $
|
||||
* $Author: jhorteli $ $Date: 2009-03-31 14:58:48 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Niklas Lundberg <n@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IPMIPHA_H
|
||||
#define IPMIPHA_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
||||
No description currently provided
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#define IPMIPHA_RELEASE 60701
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
@@ -0,0 +1,218 @@
|
||||
/* ipmipha_attr.h - ipmipha_attr.h */
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha_attr.h,v $ $Revision: 1.9 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipmipha/include/ipmipha_attr.h,v $
|
||||
* $Author: jhorteli $ $Date: 2009-03-31 14:58:48 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IPMIPHA_ATTR_H
|
||||
#define IPMIPHA_ATTR_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
||||
No description currently provided
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include <private/ipmip_cli.h>
|
||||
#include "ipmipha_mib.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
enum
|
||||
{
|
||||
IPMIPHA_CLI_BC_X_NODE_LIST = IPMIP_CLI_TYPE_BASE,
|
||||
IPMIPHA_CLI_BC_X_NODE_GET,
|
||||
IPMIPHA_CLI_BC_X_NODE_REVOKE,
|
||||
IPMIPHA_CLI_BC_X_NODE_DELETE,
|
||||
|
||||
IPMIPHA_CLI_DAEMON_MUTE,
|
||||
IPMIPHA_CLI_DAEMON_STOP,
|
||||
IPMIPHA_CLI_DAEMON_START,
|
||||
IPMIPHA_CLI_DAEMON_REGISTRATION_COUNTERS,
|
||||
IPMIPHA_CLI_MAX
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
IPMIPHA_CLI_ATTR_NONE,
|
||||
IPMIPHA_CLI_ATTR_BC_X,
|
||||
IPMIPHA_CLI_ATTR_DAEMON_REGCOUNTER,
|
||||
IPMIPHA_CLI_ATTR_MAX
|
||||
};
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
IPMIPHA_CLI_ATTR_BC_X_NONE,
|
||||
IPMIPHA_CLI_ATTR_BC_X_NAI,
|
||||
IPMIPHA_CLI_ATTR_BC_X_NAI_AAAH,
|
||||
IPMIPHA_CLI_ATTR_BC_X_HANDLE,
|
||||
IPMIPHA_CLI_ATTR_BC_X_HOA,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA,
|
||||
IPMIPHA_CLI_ATTR_BC_X_IFNAME,
|
||||
IPMIPHA_CLI_ATTR_BC_X_CREATION_TIME,
|
||||
IPMIPHA_CLI_ATTR_BC_X_LAST_UPDATED,
|
||||
IPMIPHA_CLI_ATTR_BC_X_AAA_VERIFICATION_TIME,
|
||||
IPMIPHA_CLI_ATTR_BC_X_AAA_ACCOUNTING_ENABLED,
|
||||
IPMIPHA_CLI_ATTR_BC_X_mib_haCounterEntry,
|
||||
IPMIPHA_CLI_ATTR_BC_X_STATS_RCV_OCTETS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_STATS_RCV_PKTS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_STATS_SND_OCTETS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_STATS_SND_PKTS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_MAX
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_NONE,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_CREATION_TIME,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_LAST_UPDATED,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_INET,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_TUNNELING_ENDPOINT,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_TUNNELING_PORT,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_TUNNELING_TYPE,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_TUNNELING_FLAGS,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_SPI_MF,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_SPI_FH,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_SPI_AAA,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_mib_haMobilityBindingEntry,
|
||||
IPMIPFA_CLI_ATTR_BC_X_COA_TIME_REMAINING,
|
||||
IPMIPFA_CLI_ATTR_BC_X_COA_TIME_GRANTED,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_REG_FLAGS,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_STATS_RCV_OCTETS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_STATS_RCV_PKTS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_STATS_SND_OCTETS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_STATS_SND_PKTS64,
|
||||
IPMIPHA_CLI_ATTR_BC_X_COA_MAX
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* ipmipha_attr_mib_haMobilityBindingEntry - ipmipha_attr_mib_haMobilityBindingEntry
|
||||
*
|
||||
* Returns a NULL terminated array of binding entries. The data
|
||||
* is dynamically allocated and must be freed by the caller.
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* None.
|
||||
*
|
||||
* RETURNS: Returns a NULL terminated array of binding entries.
|
||||
*
|
||||
* ERRNO:
|
||||
*
|
||||
* \NOMANUAL
|
||||
*/
|
||||
IP_GLOBAL struct Ipmipha_mib_haMobilityBindingEntry ** ipmipha_attr_mib_haMobilityBindingEntry
|
||||
(
|
||||
void
|
||||
);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* ipmipha_attr_mib_haCounterEntry - ipmipha_attr_mib_haCounterEntry
|
||||
*
|
||||
* Returns a NULL terminated array of counter entries. The data
|
||||
* is dynamically allocated and must be freed by the caller.
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* None.
|
||||
*
|
||||
* RETURNS: Returns a NULL terminated array of counter entries.
|
||||
*
|
||||
* ERRNO:
|
||||
*
|
||||
* \NOMANUAL
|
||||
*/
|
||||
IP_GLOBAL struct Ipmipha_mib_haCounterEntry ** ipmipha_attr_mib_haCounterEntry
|
||||
(
|
||||
void
|
||||
);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* ipmipha_attr_mib_haRegNodeCounters - ipmipha_attr_mib_haRegNodeCounters
|
||||
*
|
||||
* Returns a dynamically allocated structure containing the registration
|
||||
* counters for the home agent. The memory is dynamically allocated
|
||||
*
|
||||
* and must be freed by the caller.
|
||||
*
|
||||
* Parameters:
|
||||
*
|
||||
* None.
|
||||
*
|
||||
* RETURNS: Returns the registration counter data.
|
||||
*
|
||||
* ERRNO:
|
||||
*
|
||||
* \NOMANUAL
|
||||
*/
|
||||
IP_GLOBAL struct Ipmipha_mib_haRegNodeCounters * ipmipha_attr_mib_haRegNodeCounters
|
||||
(
|
||||
void
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,125 @@
|
||||
/* 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
|
||||
****************************************************************************
|
||||
*/
|
||||
Reference in New Issue
Block a user