Commit e694ef3f authored by Michal Wasiak's avatar Michal Wasiak Committed by Adam Wujek

snmp/bridge_mib: update dot1qPortVlanTable

Signed-off-by: 's avatarMichal Wasiak <michal.wasiak@gmail.com>
parent 2fb4ba58
......@@ -5,6 +5,7 @@ BRIDGE_DIRS= \
dot1dStaticTable \
dot1dTpFdbTable \
dot1qFdbTable \
dot1qPortVlanTable \
dot1qTpFdbTable \
BRIDGE_INCLUDE_DIRS:=$(addsuffix /Makefile,$(BRIDGE_DIRS))
......
BRIDGE_MIB_SRCS += \
dot1qPortVlanTable/dot1qPortVlanTable.c \
dot1qPortVlanTable/dot1qPortVlanTable_data_get.c \
dot1qPortVlanTable/dot1qPortVlanTable_data_set.c \
dot1qPortVlanTable/dot1qPortVlanTable_data_access.c \
dot1qPortVlanTable/dot1qPortVlanTable_interface.c
......@@ -49,13 +49,9 @@ extern "C" {
int dot1qPortAcceptableFrameTypes_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, u_long * dot1qPortAcceptableFrameTypes_val_ptr );
int dot1qPortIngressFiltering_map(u_long *mib_dot1qPortIngressFiltering_val_ptr, u_long raw_dot1qPortIngressFiltering_val);
int dot1qPortIngressFiltering_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, u_long * dot1qPortIngressFiltering_val_ptr );
int dot1qPortGvrpStatus_map(u_long *mib_dot1qPortGvrpStatus_val_ptr, u_long raw_dot1qPortGvrpStatus_val);
int dot1qPortGvrpStatus_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, u_long * dot1qPortGvrpStatus_val_ptr );
int dot1qPortGvrpFailedRegistrations_map(u_long *mib_dot1qPortGvrpFailedRegistrations_val_ptr, u_long raw_dot1qPortGvrpFailedRegistrations_val);
int dot1qPortGvrpFailedRegistrations_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, u_long * dot1qPortGvrpFailedRegistrations_val_ptr );
int dot1qPortGvrpLastPduOrigin_map(char **mib_dot1qPortGvrpLastPduOrigin_val_ptr_ptr, size_t *mib_dot1qPortGvrpLastPduOrigin_val_ptr_len_ptr, char *raw_dot1qPortGvrpLastPduOrigin_val_ptr, size_t raw_dot1qPortGvrpLastPduOrigin_val_ptr_len, int allow_realloc);
int dot1qPortGvrpLastPduOrigin_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, char **dot1qPortGvrpLastPduOrigin_val_ptr_ptr, size_t *dot1qPortGvrpLastPduOrigin_val_ptr_len_ptr );
int dot1qPortRestrictedVlanRegistration_map(u_long *mib_dot1qPortRestrictedVlanRegistration_val_ptr, u_long raw_dot1qPortRestrictedVlanRegistration_val);
int dot1qPortRestrictedVlanRegistration_get( dot1qPortVlanTable_rowreq_ctx *rowreq_ctx, u_long * dot1qPortRestrictedVlanRegistration_val_ptr );
......
......@@ -46,13 +46,6 @@ extern "C" {
#endif /* DOT1QPORTACCEPTABLEFRAMETYPES_ENUMS */
/*
* TODO:140:o: Define your interal representation of dot1qPortAcceptableFrameTypes enums.
* (used for value mapping; see notes at top of file)
*/
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTACCEPTABLEFRAMETYPES_ADMITALL 1
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTACCEPTABLEFRAMETYPES_ADMITONLYVLANTAGGED 2
/*************************************************************
* constants for enums for the MIB node
......@@ -69,13 +62,6 @@ extern "C" {
#endif /* TRUTHVALUE_ENUMS */
/*
* TODO:140:o: Define your interal representation of dot1qPortIngressFiltering enums.
* (used for value mapping; see notes at top of file)
*/
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTINGRESSFILTERING_TRUE 1
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTINGRESSFILTERING_FALSE 2
/*************************************************************
* constants for enums for the MIB node
......@@ -92,14 +78,6 @@ extern "C" {
#endif /* ENABLEDSTATUS_ENUMS */
/*
* TODO:140:o: Define your interal representation of dot1qPortGvrpStatus enums.
* (used for value mapping; see notes at top of file)
*/
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTGVRPSTATUS_ENABLED 1
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTGVRPSTATUS_DISABLED 2
/*************************************************************
* constants for enums for the MIB node
* dot1qPortRestrictedVlanRegistration (TruthValue / ASN_INTEGER)
......@@ -115,16 +93,6 @@ extern "C" {
#endif /* TRUTHVALUE_ENUMS */
/*
* TODO:140:o: Define your interal representation of dot1qPortRestrictedVlanRegistration enums.
* (used for value mapping; see notes at top of file)
*/
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTRESTRICTEDVLANREGISTRATION_TRUE 1
#define INTERNAL_DOT1QPORTVLANTABLE_DOT1QPORTRESTRICTEDVLANREGISTRATION_FALSE 2
#ifdef __cplusplus
}
#endif
......
......@@ -14,6 +14,7 @@
#include "dot1dTpFdbTable/dot1dTpFdbTable.h"
#include "dot1qBase.h"
#include "dot1qFdbTable/dot1qFdbTable.h"
#include "dot1qPortVlanTable/dot1qPortVlanTable.h"
#include "dot1qTpFdbTable/dot1qTpFdbTable.h"
void init_bridge_mib(void)
......@@ -24,5 +25,6 @@ void init_bridge_mib(void)
init_dot1dTpFdbTable();
init_dot1qBase();
init_dot1qFdbTable();
init_dot1qPortVlanTable();
init_dot1qTpFdbTable();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment