Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
Data Structures | |
struct | open_hash_egress_obj_s |
struct | open_hashPktInfo_s |
Typedefs | |
typedef struct open_hash_egress_obj_s | open_hash_egress_obj_t |
typedef struct open_hashPktInfo_s | open_hashPktInfo_t |
Enumerations | |
enum | OPEN_AGGR_TYPE_t { OPEN_AGGR_TYPE_ECMP = 0, OPEN_AGGR_TYPE_LAG = 1 } |
Functions | |
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. More... | |
open_error_t | openapiHashIntfUnitSlotPortGet (openapiClientHandle_t *client_handle, uint32_t intf, open_USP_t *usp) |
Get the unit, slot and port of the interface. More... | |
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.
packetInfo | incoming packet information |
usp | unit/slot/port of the out going interface |
mpls_label | For MPLS-tagged routes this is the MPLS label stack. |
OPEN_E_NONE | Get successful. |
OPEN_E_FAIL | Get failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.4
open_error_t openapiHashIntfUnitSlotPortGet | ( | openapiClientHandle_t * | client_handle, |
uint32_t | intf, | ||
open_USP_t * | usp | ||
) |
Get the unit, slot and port of the interface.
[in] | client_handle | client handle from registration API |
[in] | intf | the network interface |
[out] | usp | unit/slot/port of the interface |
OPEN_E_NONE | on success |
OPEN_E_PARAM | on improper input parameters |
OPEN_E_FAIL | on other failure |
OpEN API Version: 1.4