30#if !defined (__SAINEIGHBOR_H_)
31#define __SAINEIGHBOR_H_
221 _In_ uint32_t attr_count,
259 _In_ uint32_t attr_count,
270 _In_ sai_object_id_t switch_id);
290 _In_ uint32_t object_count,
292 _In_
const uint32_t *attr_count,
294 _In_ sai_bulk_op_error_mode_t mode,
295 _Out_ sai_status_t *object_statuses);
312 _In_ uint32_t object_count,
314 _In_ sai_bulk_op_error_mode_t mode,
315 _Out_ sai_status_t *object_statuses);
333 _In_ uint32_t object_count,
336 _In_ sai_bulk_op_error_mode_t mode,
337 _Out_ sai_status_t *object_statuses);
357 _In_ uint32_t object_count,
359 _In_
const uint32_t *attr_count,
361 _In_ sai_bulk_op_error_mode_t mode,
362 _Out_ sai_status_t *object_statuses);
sai_status_t(* sai_bulk_get_neighbor_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_neighbor_entry_t *neighbor_entry, _In_ const uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk get attribute on Neighbor entry.
sai_status_t(* sai_bulk_set_neighbor_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_neighbor_entry_t *neighbor_entry, _In_ const sai_attribute_t *attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk set attribute on Neighbor entry.
sai_status_t(* sai_get_neighbor_entry_attribute_fn)(_In_ const sai_neighbor_entry_t *neighbor_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get neighbor attribute value.
enum _sai_neighbor_entry_attr_t sai_neighbor_entry_attr_t
Attribute Id for SAI neighbor object.
sai_status_t(* sai_remove_all_neighbor_entries_fn)(_In_ sai_object_id_t switch_id)
Remove all neighbor entries.
sai_status_t(* sai_create_neighbor_entry_fn)(_In_ const sai_neighbor_entry_t *neighbor_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create neighbor entry.
sai_status_t(* sai_remove_neighbor_entry_fn)(_In_ const sai_neighbor_entry_t *neighbor_entry)
Remove neighbor entry.
_sai_neighbor_entry_attr_t
Attribute Id for SAI neighbor object.
struct _sai_neighbor_api_t sai_neighbor_api_t
Neighbor table methods, retrieved via sai_api_query()
sai_status_t(* sai_bulk_create_neighbor_entry_fn)(_In_ uint32_t object_count, _In_ const sai_neighbor_entry_t *neighbor_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk create Neighbor entry.
sai_status_t(* sai_set_neighbor_entry_attribute_fn)(_In_ const sai_neighbor_entry_t *neighbor_entry, _In_ const sai_attribute_t *attr)
Set neighbor attribute value.
struct _sai_neighbor_entry_t sai_neighbor_entry_t
Neighbor entry.
sai_status_t(* sai_bulk_remove_neighbor_entry_fn)(_In_ uint32_t object_count, _In_ const sai_neighbor_entry_t *neighbor_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk remove Neighbor entry.
@ SAI_NEIGHBOR_ENTRY_ATTR_IS_LOCAL
Is Neighbor Local.
@ SAI_NEIGHBOR_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_NEIGHBOR_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_NEIGHBOR_ENTRY_ATTR_PACKET_ACTION
L3 forwarding action for this neighbor.
@ SAI_NEIGHBOR_ENTRY_ATTR_NO_HOST_ROUTE
Neighbor not to be programmed as a host route entry in ASIC and to be only used to setup next-hop pur...
@ SAI_NEIGHBOR_ENTRY_ATTR_META_DATA
User based Meta Data.
@ SAI_NEIGHBOR_ENTRY_ATTR_COUNTER_ID
Attach a counter.
@ SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_IMPOSE_INDEX
Encapsulation index is imposed. This is deprecated.
@ SAI_NEIGHBOR_ENTRY_ATTR_START
Start of attributes.
@ SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_INDEX
Encapsulation Index.
@ SAI_NEIGHBOR_ENTRY_ATTR_USER_TRAP_ID
Generate User Defined Trap ID for trap/log actions.
@ SAI_NEIGHBOR_ENTRY_ATTR_END
End of attributes.
@ SAI_NEIGHBOR_ENTRY_ATTR_IP_ADDR_FAMILY
Neighbor entry IP address family.
@ SAI_NEIGHBOR_ENTRY_ATTR_DST_MAC_ADDRESS
Destination MAC address for the neighbor Valid only when SAI_NEIGHBOR_ENTRY_ATTR_IS_LOCAL == true.
This module defines SAI portable types.
Neighbor table methods, retrieved via sai_api_query()
sai_object_id_t switch_id
Switch ID.
sai_ip_address_t ip_address
IP address.
sai_object_id_t rif_id
Router interface ID.