38 #ifndef OPENAPI_MSRP_H_INCLUDED
39 #define OPENAPI_MSRP_H_INCLUDED
45 #define OPEN_MSRP_INTF_MAX_COUNT 1024
57 uint8_t streamMacAddr[OPEN_MAC_ADDR_LEN];
67 uint8_t failMacAddr[OPEN_MAC_ADDR_LEN];
74 uint8_t sourceMacAddr[OPEN_MAC_ADDR_LEN];
78 uint32_t maxFrameSize;
79 uint32_t maxIntervalFrames;
81 uint8_t destMacAddr[OPEN_MAC_ADDR_LEN];
84 uint8_t failMacAddr[OPEN_MAC_ADDR_LEN];
open_error_t openapiMsrpBoundaryPropagateModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Get the MSRP boundary propagate mode.
open_error_t openapiMsrpIntfModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *adminMode)
Get the MSRP mode for the specified interface.
uint32_t listenerDeclType
Listener type.
uint8_t failIntf
Failure interface.
open_error_t openapiMsrpModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
set the global MSRP mode.
uint8_t failIntf
Failure interface.
Flag for all received msrp PDUs.
uint8_t failCode
Failure code.
Flag for received msrp PDUs with bad header.
#define OPEN_MSRP_INTF_MAX_COUNT
< Maximum number of MSRP interfaces in the system.
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 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.
uint8_t failCode
Failure code.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiMsrpTalkerPruningModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Set the MSRP talker pruning mode.
Flag for msrp PDUs which failed.
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 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 openapiMsrpStreamIndexedNextGet(openapiClientHandle_t *client_handle, uint16_t currentIndex, uint16_t *nextIndex)
Given the next stream index to the given index.
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 openapiMsrpTrafficCountersClear(openapiClientHandle_t *client_handle)
Clear all MSRP traffic counters.
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 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 openapiMsrpSRclassPVIDGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *pvid)
Get the MSRP SR class PVID value on the interface.
open_error_t openapiMsrpTalkerPruningModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Get the MSRP talker pruning mode.
open_error_t openapiMsrpReservationInformationGet(openapiClientHandle_t *client_handle, uint32_t streamId, uint32_t intIfNum, open_buffdesc *reservationInfo)
Get the MSRP Reservation Information.
uint8_t trafficClass
SR Traffic class.
open_error_t openapiMsrpModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Get the global MSRP mode.
uint32_t streamID
Stream id to uniquely identify a stream.
open_error_t openapiMsrpStreamInformationGet(openapiClientHandle_t *client_handle, uint32_t streamId, open_buffdesc *streamInfo)
Get the MSRP Stream Information.
Flag for received msrp PDUs with bad data field.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
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_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
Flag for message queue send failed.
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 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 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 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.
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 openapiMsrpSrQavRePrioritySet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t remap)
Set the 802.1Qav remapped priority.
Flag for all transmitted msrp PDUs.
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.
uint32_t streamID
Stream id to uniquely identify a stream.
uint16_t vlanId
VLAN tag of stream packets.
uint32_t talkerDeclType
Talker type.
OPEN_MSRP_QAV_STREAMCLASS_t
open_error_t openapiMsrpMaxFanInPortsGet(openapiClientHandle_t *client_handle, uint32_t *maxFanInPorts)
Get the maximum number of the ports, where MSRP registrations are allowed.