38 #ifndef OPENAPI_HASH_H_INCLUDED
39 #define OPENAPI_HASH_H_INCLUDED
46 OPEN_AGGR_TYPE_ECMP = 0,
47 OPEN_AGGR_TYPE_LAG = 1
61 OPEN_AGGR_TYPE_t aggrType;
64 unsigned char src_mac[OPEN_MAC_ADDR_LEN];
65 unsigned char dst_mac[OPEN_MAC_ADDR_LEN];
open_error_t openapiHashIntfUnitSlotPortGet(openapiClientHandle_t *client_handle, uint32_t intf, open_USP_t *usp)
Get the unit, slot and port of the interface.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiHashDestGet(open_hashPktInfo_t *packetInfo, open_USP_t *usp, OPEN_MPLS_LABELS_t *mpls_label)
Get the destination physical port for the given packet and configuration information.