@@ -47,8 +47,6 @@ extern "C" {
/* Max PMR Term bits */
#define ODP_PMR_TERM_BYTES_MAX 8
-/* forward declaration */
-typedef union pmr_u pmr_t;
/**
Packet Matching Rule Term Value
@@ -71,15 +69,17 @@ typedef struct pmr_term_value {
};
} pmr_term_value_t;
-typedef union cos_u cos_t;
+/* forward declaration */
+union cos_u;
+union pmr_u;
/*
Class Of Service
*/
struct cos_s {
queue_entry_t *queue; /* Associated Queue */
pool_entry_t *pool; /* Associated Buffer pool */
- pmr_t *pmr; /* Chained PMR */
- cos_t *linked_cos; /* CoS linked with the PMR */
+ union pmr_u *pmr; /* Chained PMR */
+ union cos_u *linked_cos; /* CoS linked with the PMR */
uint32_t valid; /* validity Flag */
odp_drop_e drop_policy; /* Associated Drop Policy */
odp_queue_group_t queue_group; /* Associated Queue Group */
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> --- platform/linux-generic/include/odp_classification_datamodel.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)