Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.9.0.2
Data Structures | Macros | Enumerations | Functions
openapi_msrp.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Data Structures

struct  OPEN_MSRP_RESERVATION_INFO_t
 
struct  OPEN_MSRP_STEAM_INFO_t
 

Macros

#define OPEN_MSRP_INTF_MAX_COUNT   1024
 < Maximum number of MSRP interfaces in the system.
 

Enumerations

enum  OPEN_MSRP_DECLARATION_t {
  OPEN_MSRP_DECTYPE_INVALID = 0, OPEN_MSRP_DECTYPE_ADVERTISE, OPEN_MSRP_DECTYPE_FAILED, OPEN_MSRP_DECTYPE_ASKING_FAILED,
  OPEN_MSRP_DECTYPE_READY, OPEN_MSRP_DECTYPE_READY_FAILED, OPEN_MSRP_DECTYPE_DOMAIN
}
 
enum  OPEN_MSRP_QAV_STREAMCLASS_t { OPEN_MSRP_QAV_STREAM_CLASS_A = 0, OPEN_MSRP_QAV_STREAM_CLASS_B }
 
enum  OPEN_MSRP_STATS_t {
  OPEN_MSRP_STATS_RX = 0, OPEN_MSRP_STATS_RX_BAD_HEADER, OPEN_MSRP_STATS_RX_BAD_FORMAT, OPEN_MSRP_STATS_TX,
  OPEN_MSRP_STATS_TX_FAILURE, OPEN_MSRP_STATS_MSG
}
 

Functions

open_error_t openapiMsrpBoundaryPropagateModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the MSRP boundary propagate mode.
 
open_error_t openapiMsrpBoundaryPropagateModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 Set the MSRP boundary propagate mode.
 
open_error_t openapiMsrpFailedRegistrationCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *counter)
 Get Failed Registration Counter.
 
open_error_t openapiMsrpIntfModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *adminMode)
 Get the MSRP mode for the specified interface.
 
open_error_t openapiMsrpIntfModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode)
 Set the MSRP mode for the given interface.
 
open_error_t openapiMsrpIntfTrafficPduCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_STATS_t type, uint32_t *counter)
 Get the value of specified MSRP counter for an interface.
 
open_error_t openapiMsrpIsBoundaryPortGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, OPEN_BOOL_t *isBoundary)
 Check if a port is boundary port.
 
open_error_t openapiMsrpMaxFanInPortsGet (openapiClientHandle_t *client_handle, uint32_t *maxFanInPorts)
 Get the maximum number of the ports, where MSRP registrations are allowed.
 
open_error_t openapiMsrpMaxFanInPortsSet (openapiClientHandle_t *client_handle, uint32_t maxFanInPorts)
 Set the maximum number of the ports, where MSRP registrations are allowed.
 
open_error_t openapiMsrpModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the global MSRP mode.
 
open_error_t openapiMsrpModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 set the global MSRP mode.
 
open_error_t openapiMsrpQavCurrentBandwidthGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint64_t *trClassA, uint64_t *trClassB, uint64_t *total)
 Get the current used bandwidth values for the interface.
 
open_error_t openapiMsrpQavDeltaBandwidthGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *deltaClassA, uint32_t *deltaClassB)
 Get the delta bandwidth values for the interface.
 
open_error_t openapiMsrpQavDeltaBandwidthSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trafficClass, uint32_t deltaBandwidth)
 Get the delta bandwidth values for the interface.
 
open_error_t openapiMsrpQavMaxRateGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint64_t *trClassA, uint64_t *trClassB, uint64_t *total)
 Get the max free bandwidth values for the interface.
 
open_error_t openapiMsrpReservationInformationGet (openapiClientHandle_t *client_handle, uint32_t streamId, uint32_t intIfNum, open_buffdesc *reservationInfo)
 Get the MSRP Reservation Information.
 
open_error_t openapiMsrpSRclassPVIDGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *pvid)
 Get the MSRP SR class PVID value on the interface.
 
open_error_t openapiMsrpSRclassPVIDSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t pvid)
 Set the MSRP SR class PVID value on the interface.
 
open_error_t openapiMsrpSrQavPriorityGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t *priority)
 Get the 802.1Qav priority.
 
open_error_t openapiMsrpSrQavPrioritySet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t priority)
 Set the 802.1Qav priority.
 
open_error_t openapiMsrpSrQavRePriorityGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t *remap)
 Get the 802.1Qav remapped priority.
 
open_error_t openapiMsrpSrQavRePrioritySet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t remap)
 Set the 802.1Qav remapped priority.
 
open_error_t openapiMsrpStreamIndexedNextGet (openapiClientHandle_t *client_handle, uint16_t currentIndex, uint16_t *nextIndex)
 Given the next stream index to the given index.
 
open_error_t openapiMsrpStreamInformationGet (openapiClientHandle_t *client_handle, uint32_t streamId, open_buffdesc *streamInfo)
 Get the MSRP Stream Information.
 
open_error_t openapiMsrpTalkerPruningModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the MSRP talker pruning mode.
 
open_error_t openapiMsrpTalkerPruningModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 Set the MSRP talker pruning mode.
 
open_error_t openapiMsrpTrafficCountersClear (openapiClientHandle_t *client_handle)
 Clear all MSRP traffic counters.
 
open_error_t openapiMsrpTrafficCountersPerIfClear (openapiClientHandle_t *client_handle, uint32_t intIfNum)
 Clear MSRP traffic counters on specified interface.
 
open_error_t openapiMsrpTrafficPduCounterGet (openapiClientHandle_t *client_handle, OPEN_MSRP_STATS_t type, uint32_t *counter)
 Get the value of specified MSRP counter.