acltdtGetQueueRouteParam

Description

Obtains information about the queue route configuration, such as the source queue ID and destination queue ID.

Prototype

aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRouteParamType type, size_t len, size_t *paramRetSize, void *param)

Parameters

Parameter

Input/Output

Description

route

Input

Pointer to the queue route configuration.

You need to call acltdtCreateQueueRoute to create data of the acltdtQueueRoute type in advance.

type

Input

Type of a route parameter.

len

Input

Parameter value length.

  • If the parameter is of type *_UINT64, set this parameter to 8.
  • If the parameter is of type *_UINT32, set this parameter to 4.
  • If the parameter is of type *_PTR, set this parameter to 4 for 32-bit OS or 8 for 64-bit OS.

paramRetSize

Output

Pointer to the actual parameter value length.

param

Output

Pointer to the parameter value.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.