TSG-14568 tsg-service-chaining-engine支持MAAT4
This commit is contained in:
@@ -22,7 +22,7 @@ void fixed_num_array_init(struct fixed_num_array *array)
|
||||
array->size = sizeof(array->elems) / sizeof(array->elems[0]);
|
||||
}
|
||||
|
||||
void fixed_num_array_add_elem(struct fixed_num_array *array, int elem)
|
||||
void fixed_num_array_add_elem(struct fixed_num_array *array, uint64_t elem)
|
||||
{
|
||||
if (array->num < array->size)
|
||||
{
|
||||
@@ -35,7 +35,7 @@ void fixed_num_array_add_elem(struct fixed_num_array *array, int elem)
|
||||
}
|
||||
}
|
||||
|
||||
void fixed_num_array_del_elem(struct fixed_num_array *array, int elem)
|
||||
void fixed_num_array_del_elem(struct fixed_num_array *array, uint64_t elem)
|
||||
{
|
||||
for (int i = 0; i < array->num; i++)
|
||||
{
|
||||
@@ -75,7 +75,7 @@ int fixed_num_array_count_elem(struct fixed_num_array *array)
|
||||
}
|
||||
}
|
||||
|
||||
int fixed_num_array_exist_elem(struct fixed_num_array *array, int elem)
|
||||
int fixed_num_array_exist_elem(struct fixed_num_array *array, uint64_t elem)
|
||||
{
|
||||
for (int i = 0; i < array->num; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user