OpenNSL API Guide and Reference Manual
|
Go to the source code of this file.
Macros | |
#define | OPENNSL_L3_ECMP_DYNAMIC_MODE_NORMAL 1 |
ECMP dynamic load balancing normal mode: if inactivity duration lapsed, use optimal member, else use assigned member. | |
#define | OPENNSL_L3_IP4_OPTIONS_REPLACE 0x00000002 |
Replace existing entry. | |
#define | OPENNSL_L3_IP4_OPTIONS_WITH_ID 0x00000001 |
With ID option creation. | |
Typedefs | |
typedef enum opennsl_l3_ip4_options_action_e | opennsl_l3_ip4_options_action_t |
L3 IP options handing actions. | |
Enumerations | |
enum | opennsl_l3_ip4_options_action_e { opennslIntfIPOptionActionNone = 0, opennslIntfIPOptionActionCopyToCPU = 1, opennslIntfIPOptionActionDrop = 2, opennslIntfIPOptionActionCopyCPUAndDrop = 3 } |
L3 IP options handing actions. More... | |
Functions | |
int | opennsl_l3_egress_stat_attach (int unit, opennsl_if_t intf_id, uint32 stat_counter_id) LIB_DLL_EXPORTED |
Attach counters entries to the given L3 Egress interface. | |
int | opennsl_l3_egress_stat_detach (int unit, opennsl_if_t intf_id) LIB_DLL_EXPORTED |
Detach counters entries to the given L3 Egress interface. | |
int | opennsl_l3_ingress_stat_attach (int unit, opennsl_if_t intf_id, uint32 stat_counter_id) LIB_DLL_EXPORTED |
Attach counters entries to the given L3 ingress interface. | |
int | opennsl_l3_ingress_stat_detach (int unit, opennsl_if_t intf_id) LIB_DLL_EXPORTED |
Detach counters entries to the given L3 ingress interface. | |
int | opennsl_l3_ip4_options_action_get (int unit, int ip4_options_profile_id, int ip4_option, opennsl_l3_ip4_options_action_t *action) LIB_DLL_EXPORTED |
Get Individual IP options action for a given IP option profile. | |
int | opennsl_l3_ip4_options_action_set (int unit, int ip4_options_profile_id, int ip4_option, opennsl_l3_ip4_options_action_t action) LIB_DLL_EXPORTED |
Set Individual IP options action for a given IP option profile. | |
int | opennsl_l3_ip4_options_profile_create (int unit, uint32 flags, opennsl_l3_ip4_options_action_t default_action, int *ip4_options_profile_id) LIB_DLL_EXPORTED |
Create a new L3 IP options handling profile. | |
int | opennsl_l3_ip4_options_profile_destroy (int unit, int ip4_options_profile_id) LIB_DLL_EXPORTED |
Delete an L3 IP options Profile. | |