|
int | opennsl_l2_addr_add (int unit, opennsl_l2_addr_t *l2addr) LIB_DLL_EXPORTED |
| Add an L2 address entry to the specified device.
|
|
int | opennsl_l2_addr_delete (int unit, opennsl_mac_t mac, opennsl_vlan_t vid) LIB_DLL_EXPORTED |
| Delete an L2 address entry from the specified device.
|
|
int | opennsl_l2_addr_delete_by_mac (int unit, opennsl_mac_t mac, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a MAC address.
|
|
int | opennsl_l2_addr_delete_by_mac_port (int unit, opennsl_mac_t mac, opennsl_module_t mod, opennsl_port_t port, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a MAC address and a destination module/port.
|
|
int | opennsl_l2_addr_delete_by_port (int unit, opennsl_module_t mod, opennsl_port_t port, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a destination module/port.
|
|
int | opennsl_l2_addr_delete_by_trunk (int unit, opennsl_trunk_t tid, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a trunk.
|
|
int | opennsl_l2_addr_delete_by_vlan (int unit, opennsl_vlan_t vid, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a VLAN.
|
|
int | opennsl_l2_addr_delete_by_vlan_port (int unit, opennsl_vlan_t vid, opennsl_module_t mod, opennsl_port_t port, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a VLAN and a destination module/port.
|
|
int | opennsl_l2_addr_delete_by_vlan_trunk (int unit, opennsl_vlan_t vid, opennsl_trunk_t tid, uint32 flags) LIB_DLL_EXPORTED |
| Delete L2 entries associated with a VLAN and a destination module/port.
|
|
int | opennsl_l2_addr_freeze (int unit) LIB_DLL_EXPORTED |
| Temporarily stop/restore L2 table from changing.
|
|
int | opennsl_l2_addr_get (int unit, opennsl_mac_t mac_addr, opennsl_vlan_t vid, opennsl_l2_addr_t *l2addr) LIB_DLL_EXPORTED |
| Check if an L2 entry is present in the L2 table.
|
|
int | opennsl_l2_addr_register (int unit, opennsl_l2_addr_callback_t callback, void *userdata) LIB_DLL_EXPORTED |
| Register/Unregister a callback routine for OPENNSL L2 subsystem.
|
|
void | opennsl_l2_addr_t_init (opennsl_l2_addr_t *l2addr, const opennsl_mac_t mac_addr, opennsl_vlan_t vid) LIB_DLL_EXPORTED |
| Initialize an L2 address structure to a specified MAC address and VLAN ID.
|
|
int | opennsl_l2_addr_thaw (int unit) LIB_DLL_EXPORTED |
| Temporarily stop/restore L2 table from changing.
|
|
int | opennsl_l2_addr_unregister (int unit, opennsl_l2_addr_callback_t callback, void *userdata) LIB_DLL_EXPORTED |
| Register/Unregister a callback routine for OPENNSL L2 subsystem.
|
|
int | opennsl_l2_age_timer_get (int unit, int *age_seconds) LIB_DLL_EXPORTED |
| Set/Get the age timer.
|
|
int | opennsl_l2_age_timer_set (int unit, int age_seconds) LIB_DLL_EXPORTED |
| Set/Get the age timer.
|
|
void | opennsl_l2_cache_addr_t_init (opennsl_l2_cache_addr_t *addr) LIB_DLL_EXPORTED |
| Initialize an L2 cache address structure.
|
|
int | opennsl_l2_cache_delete (int unit, int index) LIB_DLL_EXPORTED |
| Clear an L2 cache entry.
|
|
int | opennsl_l2_cache_delete_all (int unit) LIB_DLL_EXPORTED |
| Clear all L2 cache entries.
|
|
int | opennsl_l2_cache_get (int unit, int index, opennsl_l2_cache_addr_t *addr) LIB_DLL_EXPORTED |
| Get an L2 cache entry.
|
|
int | opennsl_l2_cache_init (int unit) LIB_DLL_EXPORTED |
| Initialize the L2 cache.
|
|
int | opennsl_l2_cache_set (int unit, int index, opennsl_l2_cache_addr_t *addr, int *index_used) LIB_DLL_EXPORTED |
| Set an L2 cache entry.
|
|
int | opennsl_l2_cache_size_get (int unit, int *size) LIB_DLL_EXPORTED |
| Get number of L2 cache entries.
|
|
int | opennsl_l2_replace (int unit, uint32 flags, opennsl_l2_addr_t *match_addr, opennsl_module_t new_module, opennsl_port_t new_port, opennsl_trunk_t new_trunk) LIB_DLL_EXPORTED |
| Replace destination (or delete) multiple L2 entries.
|
|
int | opennsl_l2_station_add (int unit, int *station_id, opennsl_l2_station_t *station) LIB_DLL_EXPORTED |
| Add an entry to L2 Station table.
|
|
int | opennsl_l2_station_delete (int unit, int station_id) LIB_DLL_EXPORTED |
| Delete an entry from L2 Station Table.
|
|
int | opennsl_l2_station_get (int unit, int station_id, opennsl_l2_station_t *station) LIB_DLL_EXPORTED |
| Get L2 station entry details from Station Table.
|
|
void | opennsl_l2_station_t_init (opennsl_l2_station_t *addr) LIB_DLL_EXPORTED |
| Initialize L2 Station structure.
|
|
int | opennsl_l2_traverse (int unit, opennsl_l2_traverse_cb trav_fn, void *user_data) LIB_DLL_EXPORTED |
| Iterates over all entries in the L2 table and executes user callback function for each entry.
|
|
int | opennsl_l2_tunnel_add (int unit, opennsl_mac_t mac, opennsl_vlan_t vlan) LIB_DLL_EXPORTED |
| Add a destination L2 address to trigger tunnel processing.
|
|