| enum nmf_flood_policy |
Policy for non FID FWD packets.
Describes the forwardng policy for packets whose destination address is not found in the FID table for the VLAN.
| enum nmf_routing_hash |
Routing hash fields.
Configures hashing of L3/L4 headers for ECMP and LAG. The following bits may be ORed together to define the hash key:
| enum nmf_slot_attr_id |
Slot attribute identifiers.
| enum nmf_slot_state |
Spanning tree modes.
Per-port spanning tree states are set using ''nmf_port_attr_set''.
| enum nmf_sw_attr_id |
| nmf_status_t nmf_slot_attr_get | ( | nmf_client_t | client_id, | |
| int | slot, | |||
| enum nmf_slot_attr_id | attr_id, | |||
| union nmf_slot_attr_value * | value | |||
| ) |
Get a Slot attribute.
| client_id | The client handle. | |
| slot | The slot number | |
| attr_id | The attribute identifier | |
| value | Pointer to union where the attribute value will be stored. |
-NMF_EINVAL An invalid parameter was specified.
| nmf_status_t nmf_slot_attr_set | ( | nmf_client_t | client_id, | |
| int | slot, | |||
| enum nmf_slot_attr_id | attr_id, | |||
| union nmf_slot_attr_value * | value | |||
| ) |
Set a Slot attribute.
| client_id | The client handle. | |
| slot | The slot number | |
| attr_id | The attribute identifier | |
| value | Pointer to memory containing the attribute value |
-NMF_EINVAL Invalid parameter
| nmf_status_t nmf_slot_reset | ( | nmf_client_t | client_id, | |
| int | slot | |||
| ) |
Reset the Slot.
| client_id | The client handle. | |
| slot | The slot number |
-NMF_EINVAL An invalid parameter was specified.
| nmf_status_t nmf_sw_attr_get | ( | nmf_client_t | client_id, | |
| enum nmf_sw_attr_id | attr_id, | |||
| union nmf_sw_attr_value * | value | |||
| ) |
Get the value of a switch attribute.
| client_id | The client handle. | |
| attr_id | Identifier for the attribute. | |
| value | Pointer to Union of attribute values. |
-NMF_EINVAL Invalid parameter.
| nmf_status_t nmf_sw_cfg_restore | ( | nmf_client_t | client_id, | |
| char * | cfg_name | |||
| ) |
Restore the switch configuration.
Restores a previously saved switch configuration.
| client_id | The client handle. | |
| cfg_name | The configuration name. |
-NMF_EINVAL Invalid parameter.
-NMF_ENOENT The specified configuration does not exist.
| nmf_status_t nmf_sw_cfg_save | ( | nmf_client_t | client_id, | |
| char * | cfg_name | |||
| ) |
Save the switch configuration.
Saves the current switch configuration and associate it with a cfg_name that can later be restored. The cfg_name is logically equivalent to a path name.
| client_id | The client handle. | |
| cfg_name | A string specifying the configuration name as a file system path. |
-NMF_EINVAL Invalid parameter.
-NMF_NOMEM There is no more room on the switch.
1.5.6