Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
Functions | |
open_error_t | openapiFilterCreate (openapiClientHandle_t *client_handle, open_buffdesc *buf, uint32_t vlanID) |
Create a MAC Static Filter. More... | |
open_error_t | openapiFilterRemove (openapiClientHandle_t *client_handle, open_buffdesc *buf, uint32_t vlanID) |
Remove a configured MAC Static Filter. More... | |
open_error_t openapiFilterCreate | ( | openapiClientHandle_t * | client_handle, |
open_buffdesc * | buf, | ||
uint32_t | vlanID | ||
) |
Create a MAC Static Filter.
[in] | client_handle | client handle from registration API |
[in] | buf | static MAC address for the filter |
[in] | vlanID | VLAN ID for the filter |
- | Minimum value OPENAPI_DOT1Q_MIN_VLAN_ID | |
- | Maximum value OPENAPI_DOT1Q_MAX_VLAN_ID |
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 openapiFilterRemove | ( | openapiClientHandle_t * | client_handle, |
open_buffdesc * | buf, | ||
uint32_t | vlanID | ||
) |
Remove a configured MAC Static Filter.
[in] | client_handle | client handle from registration API |
[in] | buf | static MAC address for the filter |
[in] | vlanID | VLAN ID for the filter |
- | Minimum value OPENAPI_DOT1Q_MIN_VLAN_ID | |
- | Maximum value OPENAPI_DOT1Q_MAX_VLAN_ID |
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