38 #ifndef OPENAPI_FDB_H_INCLUDED
39 #define OPENAPI_FDB_H_INCLUDED
53 OPEN_FDB_ADDR_FLAG_STATIC = 0,
126 uint32_t fdbId, uint32_t *timeOut);
146 uint32_t fdbId, uint32_t timeOut);
164 uint32_t *maxEntries);
181 uint32_t *entriesNum);
198 uint32_t *entriesNum);
322 uint32_t startFrom, uint32_t *fdbId);
358 uint32_t *maxMacHwLimit);
377 uint32_t intIfNum, uint32_t *entries);
396 uint16_t vlanId, uint32_t *entries);
415 uint32_t intIfNum, uint32_t *entries);
434 uint16_t vlanId, uint32_t *entries);
open_error_t openapiFdbIntfInternalEntriesGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *entries)
Get the count of internal entries in the L2 forwarding database for a specific interface.
open_error_t openapiFdbAddrAgingTimeoutGet(openapiClientHandle_t *client_handle, uint32_t fdbId, uint32_t *timeOut)
Get the aging timeout value for a forwarding database.
open_error_t openapiFdbIdGet(openapiClientHandle_t *client_handle, uint32_t fdbId)
Verify that a forwarding database entry with the specified ID exists.
OPEN_VL_TYPE_t
Supported VLAN Learning types.
open_error_t openapiFdbFlushByVlan(openapiClientHandle_t *client_handle, uint32_t vlanId)
Flush all entries in forwarding database learned on the specified VLAN.
open_error_t
OPEN uses these enumerators to indicate the error codes.
Independent VLAN Learning.
open_error_t openapiFdbAddrAgingTimeoutSet(openapiClientHandle_t *client_handle, uint32_t fdbId, uint32_t timeOut)
Set the aging timeout value for a forwarding database.
open_error_t openapiActiveAddrEntriesGet(openapiClientHandle_t *client_handle, uint32_t *entriesNum)
Get the current number of entries in forwarding database.
open_error_t openapiFdbFlushByPort(openapiClientHandle_t *client_handle, uint32_t intIfNum)
Flush all entries in forwarding database learned on this interface.
open_error_t openapiFdbFlushByMac(openapiClientHandle_t *client_handle, open_buffdesc *mac)
Flush all entries in forwarding database learned on the specified MAC.
open_error_t openapiFdbTypeOfVLGet(openapiClientHandle_t *client_handle, OPEN_VL_TYPE_t *type)
Get the type of supported VLAN learning.
open_error_t openapiFdbMaxCountGet(openapiClientHandle_t *client_handle, uint32_t *entriesNum)
Get the forwarding database entries counter greatest value.
open_error_t openapiFdbBadAddsGet(openapiClientHandle_t *client_handle, uint32_t *badAdds)
Get the number of failed forwarding database insert attempts due to failure to allocate space...
open_error_t openapiIsRestrFilterMacGet(openapiClientHandle_t *client_handle, open_buffdesc *macaddr)
Determine if the specified MAC address is a member of the restricted set.
open_error_t openapiFdbInternalEntriesGet(openapiClientHandle_t *client_handle, uint32_t *entries)
Get count of internally added entries in the L2 forwarding database.
open_error_t openapiFdbFlush(openapiClientHandle_t *client_handle)
Flush all learned entries from the L2 forwarding database.
open_error_t openapiFdbEntryDelete(openapiClientHandle_t *client_handle, open_buffdesc *mac, uint32_t vlanId, uint32_t intIfNum)
Delete a entry from the forwarding database.
open_error_t openapiMaxCountReset(openapiClientHandle_t *client_handle)
Reset the greatest number of entries in the forwarding database.
open_error_t openapiFdbVlanDynamicEntriesGet(openapiClientHandle_t *client_handle, uint16_t vlanId, uint32_t *entries)
Get the count of dynamic entries in the L2 forwarding database for a specific VLAN.
open_error_t openapiFdbIntfDynamicEntriesGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *entries)
Get the count of dynamic entries in the L2 forwarding database for a specific interface.
OPEN_MPLS_LFDB_ENTRY_TYPE_t entryType
Type of label.
open_error_t openapiFdbEntryNextGet(openapiClientHandle_t *client_handle, open_buffdesc *mac, uint32_t *vlanId, uint32_t *fdbIfNum, OPEN_FDB_ADDR_FLAG_t *entryType)
Get the next entry from the forwarding database.
open_error_t openapiFdbMaxTableEntriesGet(openapiClientHandle_t *client_handle, uint32_t *maxEntries)
Get the maximum number of entries that the forwarding database table can hold.
open_error_t openapiFdbIdNextGet(openapiClientHandle_t *client_handle, uint32_t startFrom, uint32_t *fdbId)
Get the next forwarding database ID starting from a certain index.
Address is learned, but not guaranteed to be in HW (relevant for SW learning).
open_error_t openapiFdbDynamicEntriesGet(openapiClientHandle_t *client_handle, uint32_t *entries)
Get count of dynamic entries in the L2 forwarding database.
open_error_t openapiFdbMacMaxHwLimitGet(openapiClientHandle_t *client_handle, uint32_t *maxMacHwLimit)
Get the max limit of MAC entries determined by hardware.
open_error_t openapiFdbVlanInternalEntriesGet(openapiClientHandle_t *client_handle, uint16_t vlanId, uint32_t *entries)
Get the count of internal entries in the L2 forwarding database for a specific VLAN.