BroadView™ API Guide and Reference Manual
|
#include "broadview.h"
#include "openapps_feature.h"
#include "system.h"
#include "asic.h"
Go to the source code of this file.
Functions | |
BVIEW_STATUS | sbapi_system_asic_capabilities_get (int asic, BVIEW_ASIC_CAPABILITIES_t *asicCapPtr) |
Get asic capabilites of a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_cp_get (int asic, int *numCommonPools) |
Get number of common pools in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_cpuq_get (int asic, int *numCpuQueues) |
Get number of cpu queues in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_mcq_get (int asic, int *numMulticastQueues) |
Get number of multicast queues in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_pg_get (int asic, int *numPriorityGroups) |
Get number of priority groups in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_ports_get (int asic, int *numPorts) |
Get number of ports in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_rqeq_get (int asic, int *numRqeQueues) |
Get number of RQE queues in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_rqeqp_get (int asic, int *numRqeQueuePools) |
Get number of RQE queue pools in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_sp_get (int asic, int *numServicePools) |
Get number of service pools in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_ucq_get (int asic, int *numUnicastQueues) |
Get number of unicast queues in a unit. | |
BVIEW_STATUS | sbapi_system_asic_num_ucqg_get (int asic, int *numUnicastQueueGroups) |
Get number of unicast queue groups in a unit. | |
BVIEW_STATUS | sbapi_system_asic_support_1588_get (int asic, bool *support1588) |
Get whether a unit supports 1588 or not. | |
BVIEW_STATUS | sbapi_system_asic_translate_from_notation (char *src, int *asic) |
Get system asic number from notational asic number representation - string form. | |
BVIEW_STATUS | sbapi_system_asic_translate_to_notation (int asic, char *dst) |
Get asic number in notational representation(string) from system asic number. | |
BVIEW_STATUS | sbapi_system_feature_mask_get (int *featureMask) |
Get Supported Feature Mask. | |
BVIEW_STATUS | sbapi_system_ip4_get (uint8_t *buffer, int length) |
Get system IPv4 address. | |
BVIEW_STATUS | sbapi_system_lag_translate_to_notation (int asic, int lag, char *dst) |
Get lag number in notational representation(string) from system lag number and asic number. | |
BVIEW_STATUS | sbapi_system_mac_get (uint8_t *buffer, int length) |
Get system MAC address. | |
BVIEW_STATUS | sbapi_system_max_buf_snapshot_get (int asic, BVIEW_SYSTEM_ASIC_MAX_BUF_SNAPSHOT_DATA_t *maxBufSnapshot, BVIEW_TIME_t *time) |
Get snapshot of max buffers allocated. | |
BVIEW_STATUS | sbapi_system_name_get (char *buffer, int length) |
Get system name. | |
BVIEW_STATUS | sbapi_system_network_os_get (uint8_t *buffer, int length) |
Get Network OS. | |
BVIEW_STATUS | sbapi_system_num_units_get (int *unitNum) |
Get number of units in the system. | |
BVIEW_STATUS | sbapi_system_packet_rx_register (int asic, BVIEW_PACKET_RX_CALLBACK_t callback, char *name, void *cookie) |
BVIEW_STATUS | sbapi_system_port_translate_from_notation (char *src, int *port) |
Get system port number from notational port number representation - string form. | |
BVIEW_STATUS | sbapi_system_port_translate_to_notation (int asic, int port, char *dst) |
Get port number in notational representation(string) from system port number and asic number. | |
BVIEW_STATUS | sbapi_system_time_get (time_t *ptime) |
Get Current local time. | |
BVIEW_STATUS | sbapi_system_uid_get (uint8_t *buffer, int length) |
Get system UID. | |
BVIEW_STATUS | sbapi_system_unit_to_asic_type_get (int asic, BVIEW_ASIC_TYPE *asicType) |
Get asic type of a unit. | |