|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
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... | |
| open_error_t openapiFilterAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Gets the static MAC filter admin mode.
| [in] | client_handle | client handle from registration API |
| [out] | adminMode | Static MAC filter admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterAdminModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | adminMode | ||
| ) |
Sets the static MAC filter admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | adminMode | Static MAC filter admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [out] | status | OPEN_TRUE MAC address is of type multicast OPEN_FALSE MAC address is of type unicast |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [out] | totalCount | Total number of MAC static filters configured |
| [out] | multicastFiltCount | Number of multicast MAC static filters configured |
| [out] | unicastFiltCount | Number of unicast MAC static filters configured |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterCountGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | count | ||
| ) |
Gets the number of MAC static filters configured.
| [in] | client_handle | client handle from registration API |
| [out] | count | Number of MAC static filters configured |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterCreate | ( | openapiClientHandle_t * | client_handle, |
| open_buffdesc * | macAddr, | ||
| uint32_t | vlanID | ||
| ) |
Create a MAC Static Filter.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | static MAC address for the filter |
| [in] | vlanID | VLAN ID for the filter |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_EXISTS | Already exists. |
| OPEN_E_FULL | Maximum count reached or table full. |
OpEN API Version: 1.20
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | numOfDstIntf | Number of destination filter interfaces |
| [out] | dstFiltIntfList | List of destination filter interfaces |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| [in] | fwdIntfList | List of ports to forward |
| [in] | filterIntfList | List of ports to forbid |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| [in] | fwdIntfList | List of ports to forward |
| [in] | filterIntfList | List of ports to forbid |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | numOfDstIntf | Number of destination interfaces |
| [out] | dstIntfList | List of destination interfaces |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterFilteringModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_FILTER_VLAN_FILTER_MODE_t | mode | ||
| ) |
Set multicast address filtering configuration for all vlans.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Filtering mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterFirstGet | ( | openapiClientHandle_t * | client_handle, |
| open_buffdesc * | macAddr, | ||
| uint32_t * | vlanId | ||
| ) |
Gets the first configured MAC static filter.
| [in] | client_handle | client handle from registration API |
| [out] | macAddr | MAC address |
| [out] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | status | Status of MAC filter |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | Interface number |
| [out] | status | Presence of MAC filter in the specified interface |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterIsValidIntf | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| OPEN_BOOL_t * | status | ||
| ) |
Checks if the interface is valid for filtering.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | Interface number |
| [out] | status | Validity of interface for MAC filtering |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | nextMacAddr | MAC address of the next filter |
| [out] | nextVlanId | VLAN ID of the next filter |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | Interface number |
| [out] | status | Status of the param can be set on this port type |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterRemove | ( | openapiClientHandle_t * | client_handle, |
| open_buffdesc * | macAddr, | ||
| uint32_t | vlanID | ||
| ) |
Remove a configured MAC Static Filter.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | static MAC address for the filter |
| [in] | vlanID | VLAN ID for the filter |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
OpEN API Version: 1.20
| open_error_t openapiFilterSizeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | size | ||
| ) |
Gets the buffer size used by filtering component for the bit mask.
| [in] | client_handle | client handle from registration API |
| [out] | size | Buffer size for the bit mask |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | ifNum | Interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | numOfSrcIntf | Number of source interfaces |
| [out] | srcIntfList | List of source interfaces |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | srcIntfList | List of interfaces specifying source ports |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| open_error_t openapiFilterStreamGet | ( | openapiClientHandle_t * | client_handle, |
| open_buffdesc * | macAddr, | ||
| uint32_t | vlanId, | ||
| uint32_t * | streamId | ||
| ) |
Gets the configured stream id.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | streamId | 802.1qci stream-id |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | streamId | 802.1qci stream-id |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | mode | Filtering mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [in] | mode | Filtering mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available |
OpEN API Version: 1.25