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

Go to the source code of this file.

Enumerations

enum  OPEN_FILTER_VLAN_FILTER_MODE_t { OPEN_FILTER_FORWARD_ALL, OPEN_FILTER_FORWARD_UNREGISTERED, OPEN_FILTER_FILTER_UNREGISTERED }
 

Functions

open_error_t openapiFilterAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Gets the static MAC filter admin mode. More...
 
open_error_t openapiFilterAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Sets the static MAC filter admin mode. More...
 
open_error_t openapiFilterCheckMacAddrTypeMulticast (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, OPEN_BOOL_t *status)
 Checks to see the mac address type, unicast or multicast. More...
 
open_error_t openapiFilterCountersGet (openapiClientHandle_t *client_handle, uint32_t *totalCount, uint32_t *multicastFiltCount, uint32_t *unicastFiltCount)
 Gets the number of total, multicast and unicast MAC static filters configured. More...
 
open_error_t openapiFilterCountGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Gets the number of MAC static filters configured. More...
 
open_error_t openapiFilterCreate (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanID)
 Create a MAC Static Filter. More...
 
open_error_t openapiFilterDstFiltIntfListGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *numOfDstIntf, open_buffdesc *dstFiltIntfList)
 Gets list of destination filter interfaces for a MAC static filter. More...
 
open_error_t openapiFilterDstIntfAdd (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum)
 Adds a destination interface to the static MAC filter. More...
 
open_error_t openapiFilterDstIntfDelete (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum)
 Deletes a destination interface from the destination interface list of the static MAC filter. More...
 
open_error_t openapiFilterDstIntfListAdd (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum, open_buffdesc *fwdIntfList, open_buffdesc *filterIntfList)
 Adds destination interfaces to the static MAC filter. More...
 
open_error_t openapiFilterDstIntfListDelete (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum, open_buffdesc *fwdIntfList, open_buffdesc *filterIntfList)
 Deletes destination interfaces from the static MAC filter. More...
 
open_error_t openapiFilterDstIntfListGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *numOfDstIntf, open_buffdesc *dstIntfList)
 Gets list of destination interfaces for a MAC static filter. More...
 
open_error_t openapiFilterFilteringModeSet (openapiClientHandle_t *client_handle, OPEN_FILTER_VLAN_FILTER_MODE_t mode)
 Set multicast address filtering configuration for all vlans. More...
 
open_error_t openapiFilterFirstGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t *vlanId)
 Gets the first configured MAC static filter. More...
 
open_error_t openapiFilterIsConfigured (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, OPEN_BOOL_t *status)
 Checks to see if a MAC filter is configured or not. More...
 
open_error_t openapiFilterIsIntfInAnyFilter (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Checks if a particular interface is present in any MAC filter. More...
 
open_error_t openapiFilterIsValidIntf (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Checks if the interface is valid for filtering. More...
 
open_error_t openapiFilterNextGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *nextMacAddr, uint32_t *nextVlanId)
 Gets the next configured MAC static filter. More...
 
open_error_t openapiFilterPortParmCanSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Check to see if the port is the appropriate type on which the param can be set. More...
 
open_error_t openapiFilterRemove (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanID)
 Remove a configured MAC Static Filter. More...
 
open_error_t openapiFilterSizeGet (openapiClientHandle_t *client_handle, uint32_t *size)
 Gets the buffer size used by filtering component for the bit mask. More...
 
open_error_t openapiFilterSrcIntfAdd (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum)
 Adds a source interface to the static MAC filter. More...
 
open_error_t openapiFilterSrcIntfDelete (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t ifNum)
 Deletes a source interface from the source interface list of the static MAC filter. More...
 
open_error_t openapiFilterSrcIntfListGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *numOfSrcIntf, open_buffdesc *srcIntfList)
 Gets list of source interfaces for a MAC static filter. More...
 
open_error_t openapiFilterSrcIntfListModify (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *srcIntfList)
 Apply a source interface list to the static MAC filter. More...
 
open_error_t openapiFilterStreamGet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *streamId)
 Gets the configured stream id. More...
 
open_error_t openapiFilterStreamSet (openapiClientHandle_t *client_handle, open_buffdesc *macAddr, uint32_t vlanId, uint32_t streamId)
 Sets the stream id of an existing macfilter with given MAC address and vlan id. More...
 
open_error_t openapiFilterVlanFilteringModeGet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_FILTER_VLAN_FILTER_MODE_t *mode)
 Gets multicast address filtering configuration for the specified vlan. More...
 
open_error_t openapiFilterVlanFilteringModeSet (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_FILTER_VLAN_FILTER_MODE_t mode)
 Sets multicast address filtering configuration for the specified vlan. More...