Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Data Structures | Macros | Typedefs | Functions
openapi_instru_nos.h File Reference
#include "openapi_common.h"
#include "openapi_instru_bst.h"
#include "feature.h"

Go to the source code of this file.

Data Structures

struct  _open_port_mask_
 
struct  OPEN_ASIC_CAPABILITIES_ALL_t
 

Macros

#define CONVERT_32_TO_64_INT(dest, src)
 
#define CONVERT_64_TO_32_INT(dest, src)
 
#define OPEN_INSTRU_MAX_PACKET_SIZE   1588
 These data structure are used for OpEN API only.
 
#define OPEN_MASK_BASE_UNIT   unsigned int
 Base type for declarations.
 
#define OPEN_MASK_SIZE(_max)    (((_max) + OPEN_MASKWID - 1) / OPEN_MASKWID)
 (internal) Number of BVIEW_MASK_BASE_UNITs needed to contain _max bits
 
#define OPEN_MASKWID   32
 
#define OPEN_MAX_PORT_LIST_STR   256
 

Typedefs

typedef struct _open_port_mask_ OPEN_PORT_MASK_t
 
typedef time_t OPEN_TIME_t
 

Functions

open_error_t openapiAsicCapabilityGet (openapiClientHandle_t *clientHandle, int asic, OPEN_ASIC_CAPABILITIES_ALL_t *asicCap)
 Asic capabilities get function. More...
 
open_error_t openapiBstMaxSnapshotCompressedGet (openapiClientHandle_t *clientHandle, int asic, open_buffdesc *compSnapshot, time_t *time)
 Obtain compressed complete ASIC Statistics Report of maximum buffer values. More...
 
open_error_t openapiBstMaxSnapshotGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_ASIC_SNAPSHOT_DATA_t *data1, OPEN_BST_EGRESS_UC_QUEUE_DATA_t *data2, OPEN_BST_EGRESS_MC_QUEUE_DATA_t *data3, time_t *time)
 Obtain Complete ASIC Statistics Report of maximum buffer values. More...
 
open_error_t openapiChipFamilyNameGet (openapiClientHandle_t *client_handle, open_buffdesc *buf)
 Get Chip Family name. More...
 
open_error_t openapiHttpPortGet (openapiClientHandle_t *client_handle, int asic, int *httpPort)
 Get HTTP listening port. More...
 
open_error_t openapiHwMaxPortsGet (openapiClientHandle_t *client_handle, int *maxPhysPorts, int *maxHiGigPorts)
 Get Chip Max Ports. More...
 
open_error_t openapiLagTranslateToNotation (openapiClientHandle_t *client_handle, int asic, int lag, open_buffdesc *dst)
 Get LAG string from SDK lag number. More...
 
open_error_t openapiMacAddrGet (openapiClientHandle_t *client_handle, open_buffdesc *mac)
 Get System MAC Address. More...
 
open_error_t openapiSystemCosqHwqFullMapGet (openapiClientHandle_t *client_handle, int asic, OPEN_SYSTEM_COSQ_HWQ_MAP_t *cosq_hwq_map)
 Get HW queue map of cosqs in the system. More...
 
open_error_t openapiSystemCosqHwqFullMapGetV2 (openapiClientHandle_t *client_handle, int asic, OPEN_SYSTEM_COSQ_HWQ_MAP_V2_t *cosq_hwq_map)
 Get HW queue map of cosqs in the system. More...
 
open_error_t openapiSystemHwqMCosqMapGet (openapiClientHandle_t *client_handle, int asic, int hwQNum, int *port, int *cosq)
 Get the port and cos queue number of a multicast HW queue. More...
 
open_error_t openapiSystemHwqUCosqMapGet (openapiClientHandle_t *client_handle, int asic, int hwQNum, int *port, int *cosq)
 Get the port and cos queue number of a unicast HW queue. More...
 
open_error_t openapiSystemMCosqHwqMapGet (openapiClientHandle_t *client_handle, int asic, int port, int cosq, int *hwQNum)
 Get the HW queue number of a multicast cosq. More...
 
open_error_t openapiSystemPacketTcamRegister (openapiClientHandle_t *clientHandle, int asic, open_buffdesc *name, int ClientId)
 Register with System for TCAM packets. More...
 
open_error_t openapiSystemUCosqHwqMapGet (openapiClientHandle_t *client_handle, int asic, int port, int cosq, int *hwQNum)
 Get the HW queue number of a unicast cosq. More...
 
open_error_t openapiTimeGet (openapiClientHandle_t *client_handle, int *second, int *nanosecond)
 Get System Time. More...