SAI Metadata
|
Classes | |
struct | _sai_next_hop_api_t |
Next Hop methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_next_hop_type_t | sai_next_hop_type_t |
Next hop type. | |
typedef enum _sai_next_hop_attr_t | sai_next_hop_attr_t |
Attribute id for next hop. | |
typedef sai_status_t(* | sai_create_next_hop_fn) (_Out_ sai_object_id_t *next_hop_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create next hop. | |
typedef sai_status_t(* | sai_remove_next_hop_fn) (_In_ sai_object_id_t next_hop_id) |
Remove next hop. | |
typedef sai_status_t(* | sai_set_next_hop_attribute_fn) (_In_ sai_object_id_t next_hop_id, _In_ const sai_attribute_t *attr) |
Set Next Hop attribute. | |
typedef sai_status_t(* | sai_get_next_hop_attribute_fn) (_In_ sai_object_id_t next_hop_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Next Hop attribute. | |
typedef struct _sai_next_hop_api_t | sai_next_hop_api_t |
Next Hop methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_create_next_hop_fn) (_Out_ sai_object_id_t *next_hop_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create next hop.
Note: IP address expected in Network Byte Order.
[out] | next_hop_id | Next hop id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
Definition at line 281 of file sainexthop.h.
typedef sai_status_t(* sai_get_next_hop_attribute_fn) (_In_ sai_object_id_t next_hop_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Next Hop attribute.
[in] | next_hop_id | Next hop id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Definition at line 318 of file sainexthop.h.
typedef sai_status_t(* sai_remove_next_hop_fn) (_In_ sai_object_id_t next_hop_id) |
Remove next hop.
[in] | next_hop_id | Next hop id |
Definition at line 294 of file sainexthop.h.
typedef sai_status_t(* sai_set_next_hop_attribute_fn) (_In_ sai_object_id_t next_hop_id, _In_ const sai_attribute_t *attr) |
Set Next Hop attribute.
[in] | next_hop_id | Next hop id |
[in] | attr | Attribute |
Definition at line 305 of file sainexthop.h.
enum _sai_next_hop_attr_t |
Attribute id for next hop.
Definition at line 58 of file sainexthop.h.
enum _sai_next_hop_type_t |
Next hop type.
Enumerator | |
---|---|
SAI_NEXT_HOP_TYPE_IP | IP next hop |
SAI_NEXT_HOP_TYPE_MPLS | MPLS(outsegment) next hop |
SAI_NEXT_HOP_TYPE_TUNNEL_ENCAP | Tunnel next hop |
SAI_NEXT_HOP_TYPE_SRV6_SIDLIST | SRV6 SID List |
Definition at line 39 of file sainexthop.h.