diff --git a/bbf_plugin/qos_bbf.c b/bbf_plugin/qos_bbf.c index 67fc0aab63e3773561088879d002f9452bd3e8a9..26b765db63013d26d29b74e4f4ed545538fee02d 100644 --- a/bbf_plugin/qos_bbf.c +++ b/bbf_plugin/qos_bbf.c @@ -10,6 +10,7 @@ */ #include "qos_bbf.h" +#include "libbbfdm_api.h" /************************************************************* * COMMON FUNCTIONS @@ -464,6 +465,7 @@ static int get_QMaxClassificationEntries(char *refparam, struct dmctx *ctx, void return 0; } +#if 0 static int get_QMaxAppEntries(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { *value = "0"; @@ -487,6 +489,7 @@ static int get_QFlowNumberOfEntries(char *refparam, struct dmctx *ctx, void *dat *value = "0"; return 0; } +#endif static int get_QMaxPolicerEntries(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { @@ -508,11 +511,13 @@ static int get_QShaperNumberOfEntries(char *refparam, struct dmctx *ctx, void *d return 0; } +#if 0 static int get_QAvailableAppList(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { *value = ""; return 0; } +#endif static int get_QoSClassification_Enable(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { @@ -1971,10 +1976,10 @@ DMLEAF tQoSParams[] = { {"ShaperNumberOfEntries", &DMREAD, DMT_UNINT, get_QShaperNumberOfEntries, NULL, BBFDM_BOTH}, {"QueueNumberOfEntries", &DMREAD, DMT_UNINT, get_QQueueNumberOfEntries, NULL, BBFDM_BOTH}, {"MaxClassificationEntries", &DMREAD, DMT_UNINT, get_QMaxClassificationEntries, NULL, BBFDM_BOTH}, -{"MaxAppEntries", &DMREAD, DMT_UNINT, get_QMaxAppEntries, NULL, BBFDM_BOTH}, -{"AppNumberOfEntries", &DMREAD, DMT_UNINT, get_QAppNumberOfEntries, NULL, BBFDM_BOTH}, -{"MaxFlowEntries", &DMREAD, DMT_UNINT, get_QMaxFlowEntries, NULL, BBFDM_BOTH}, -{"FlowNumberOfEntries", &DMREAD, DMT_UNINT, get_QFlowNumberOfEntries, NULL, BBFDM_BOTH}, +//{"MaxAppEntries", &DMREAD, DMT_UNINT, get_QMaxAppEntries, NULL, BBFDM_BOTH}, +//{"AppNumberOfEntries", &DMREAD, DMT_UNINT, get_QAppNumberOfEntries, NULL, BBFDM_BOTH}, +//{"MaxFlowEntries", &DMREAD, DMT_UNINT, get_QMaxFlowEntries, NULL, BBFDM_BOTH}, +//{"FlowNumberOfEntries", &DMREAD, DMT_UNINT, get_QFlowNumberOfEntries, NULL, BBFDM_BOTH}, {"MaxPolicerEntries", &DMREAD, DMT_UNINT, get_QMaxPolicerEntries, NULL, BBFDM_BOTH}, {"PolicerNumberOfEntries", &DMREAD, DMT_UNINT, get_QPolicerNumberOfEntries, NULL, BBFDM_BOTH}, {"MaxQueueEntries", &DMREAD, DMT_UNINT, get_QMaxQueueEntries, NULL, BBFDM_BOTH}, @@ -1986,7 +1991,7 @@ DMLEAF tQoSParams[] = { //{"DefaultDSCPMark", &DMWRITE, DMT_INT, get_QDefaultDSCPMark, set_QDefaultDSCPMark, BBFDM_BOTH}, //{"DefaultEthernetPriorityMark", &DMWRITE, DMT_INT, get_QDefaultEthernetPriorityMark, set_QDefaultEthernetPriorityMark, BBFDM_BOTH}, //{"DefaultInnerEthernetPriorityMark", &DMWRITE, DMT_INT, get_QDefaultInnerEthernetPriorityMark, set_QDefaultInnerEthernetPriorityMark, BBFDM_BOTH}, -{"AvailableAppList", &DMREAD, DMT_STRING, get_QAvailableAppList, NULL, BBFDM_BOTH}, +//{"AvailableAppList", &DMREAD, DMT_STRING, get_QAvailableAppList, NULL, BBFDM_BOTH}, {0} };