Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
Functions
openapi_pml.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Functions

open_error_t openapiPmlDot1qciStreamDelete (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t streamID)
 Deassociate the 802.1Qci stream with static PML entry. More...
 
open_error_t openapiPmlDot1qciStreamGet (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *streamID)
 Get the 802.1Qci stream ID associated with static PML entry. More...
 
open_error_t openapiPmlDot1qciStreamSet (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t streamID)
 Associate the 802.1Qci stream with static PML entry. More...
 
open_error_t openapiPmlGlobalAdminModeGet (openapiClientHandle_t *clientHandle, OPEN_CONTROL_t *adminMode)
 Get the Port MAC Locking Global Admin mode. More...
 
open_error_t openapiPmlGlobalAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Sets the PML global admin mode. More...
 
open_error_t openapiPmlIntfAgeTimeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *ageTime)
 Gets secure MAC address aging time for the specified interface. More...
 
open_error_t openapiPmlIntfAgeTimeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t ageTime)
 Sets secure MAC address aging time for the specified interface. More...
 
open_error_t openapiPmlIntfDynamicEntryGetFirst (openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
 Gets the first dynamic entry for an interface. More...
 
open_error_t openapiPmlIntfDynamicEntryGetNext (openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *nextMacAddr, uint32_t *nextVlanId)
 Gets the next dynamic entry for an interface. More...
 
open_error_t openapiPmlIntfDynamicLearnedAddrCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
 Gets the count of dynamcially learned mac Addresses. More...
 
open_error_t openapiPmlIntfDynamicLimitGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit)
 Get the Port MAC Locking dynamic limit for the specified interface. More...
 
open_error_t openapiPmlIntfDynamicLimitSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t limit)
 Sets the Port MAC Locking dynamic limit for the specified interface. More...
 
open_error_t openapiPmlIntfDynamicMaxLimitGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
 Gets the Port MAC Locking maximum dynamic limit for the specified interface. More...
 
open_error_t openapiPmlIntfDynamicToStaticMove (openapiClientHandle_t *client_handle, uint32_t ifNum)
 Converts dynamically locked entries to statically locked entries on this interface. More...
 
open_error_t openapiPmlIntfIsValid (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_BOOL_t *isValid)
 Get whether an interface is a valid PML interface or not. More...
 
open_error_t openapiPmlIntfLastViolationAddrGet (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
 Gets the last violation entry for an interface. More...
 
open_error_t openapiPmlIntfModeGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Get the Port MAC Locking mode for the specified interface. More...
 
open_error_t openapiPmlIntfModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t intfMode)
 Set the Port MAC Locking mode for the specified interface. More...
 
open_error_t openapiPmlIntfStaticCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
 Gets the Port MAC Locking static count for the specified interface. More...
 
open_error_t openapiPmlIntfStaticEntryAdd (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, OPEN_BOOL_t sticky)
 Adds a statically locked entry to an interface. More...
 
open_error_t openapiPmlIntfStaticEntryDelete (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId)
 Deletes a statically locked entry from an interface. More...
 
open_error_t openapiPmlIntfStaticEntryGetFirst (openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId, OPEN_BOOL_t *isSticky)
 Gets the first static entry for an interface. More...
 
open_error_t openapiPmlIntfStaticEntryGetNext (openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *nextMacAddr, uint32_t *nextVlanId, OPEN_BOOL_t *isnextEntrySticky)
 Gets the next static entry for an interface. More...
 
open_error_t openapiPmlIntfStaticLearnedAddrCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
 Gets the count of statically learned mac Addresses. More...
 
open_error_t openapiPmlIntfStaticLimitGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit)
 Get the Port MAC Locking static limit for the specified interface. More...
 
open_error_t openapiPmlIntfStaticLimitSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t limit)
 Sets the Port MAC Locking static limit for the specified interface. More...
 
open_error_t openapiPmlIntfStaticMaxLimitGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
 Gets the Port MAC Locking maximum static limit for the specified interface. More...
 
open_error_t openapiPmlIntfStickyModeGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *stickyMode)
 Get the Port MAC Locking sticky mode for the specified interface. More...
 
open_error_t openapiPmlIntfStickyModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t sticky)
 Configures PML sticky mode on this interface. More...
 
open_error_t openapiPmlIntfTrapFrequencyGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *interval)
 Gets the frequency interval between successive SNMP traps. More...
 
open_error_t openapiPmlIntfTrapFrequencySet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t interval)
 Sets the frequency interval between successive SNMP traps. More...
 
open_error_t openapiPmlIntfViolationDDisableModeGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Get the Port MAC Locking violation D-Disable mode for the specified interface. More...
 
open_error_t openapiPmlIntfViolationDDisableModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode)
 Sets the port MAC locking violation D-Disable mode for the specified interface. More...
 
open_error_t openapiPmlIntfViolationTrapModeGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *trapMode)
 Get the Port MAC Locking violation trap mode for the specified interface. More...
 
open_error_t openapiPmlIntfVlanDynamicLearnedAddrCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t *count)
 Gets the Port MAC Locking vlan dynamic learned address count for the specified interface and vlan. More...
 
open_error_t openapiPmlIntfVlanDynamicLimitGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t *limit)
 Gets the Port MAC Locking vlan dynamic limit for the specified interface. More...
 
open_error_t openapiPmlIntfVlanDynamicLimitSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t limit)
 Sets the Port MAC Locking vlan dynamic limit for the specified interface. More...
 
open_error_t openapiPmlNextValidIntfGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
 Gets the next valid PML interface. More...
 
open_error_t openapiPmlStaticAddrCountByVlanGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *count)
 Gets the count of statically learned mac Addresses. More...
 
open_error_t openapiPmlStaticAddrGlobalCountGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Gets the global count of statically learned mac Addresses. More...
 
open_error_t openapiPmlVlanAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Gets the PML vlan admin mode. More...
 
open_error_t openapiPmlVlanAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Sets the PML vlan admin mode. More...
 
open_error_t openapiPmlVlanDynamicEntryGetFirst (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
 Gets the first dynamic entry for a vlan on a given interface. More...
 
open_error_t openapiPmlVlanDynamicEntryGetNext (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, open_buffdesc *nextMacAddr, uint32_t *vlanId)
 Gets the next dynamic entry for a vlan on a given interface. More...
 
open_error_t openapiPmlVlanDynamicLimitGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit)
 Gets the MAC limit per Vlan. More...
 
open_error_t openapiPmlVlanDynamicLimitSet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t limit)
 Sets the vlan MAC Locking limit. More...
 
open_error_t openapiPmlVlanModeGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *mode)
 Gets the MAC Locking mode for the specified vlan. More...
 
open_error_t openapiPmlVlanModeSet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t mode)
 Sets the MAC Locking mode for the specified vlan. More...
 
open_error_t openapiPmlVlanOperationalLimitGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit)
 Gets operational vlan MAC locking limit. More...
 
open_error_t openapiPmlVlanViolationDDisableModeGet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *mode)
 Gets the MAC Locking violation D-Disable mode for the specified vlan. More...
 
open_error_t openapiPmlVlanViolationDDisableModeSet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t mode)
 Sets the MAC Locking violation D-Disable mode for the specified vlan. More...
 
open_error_t openapiPmlVlanViolationTrapModeGet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *mode)
 Gets the MAC Locking violation trap mode for the specified vlan. More...
 
open_error_t openapiPmlVlanViolationTrapModeSet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t mode)
 Sets the MAC Locking violation trap mode for the specified vlan. More...