Mellanox SwitchX SDK API Guide  4.3.2104
sx_api_acl.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2019. Mellanox Technologies, Ltd. ALL RIGHTS RESERVED.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may
5  * not use this file except in compliance with the License. You may obtain
6  * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7  *
8  * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR
9  * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
10  * LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS
11  * FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
12  *
13  * See the Apache Version 2.0 License for specific language governing
14  * permissions and limitations under the License.
15  *
16  */
17 
18 #ifndef __SX_API_ACL_H__
19 #define __SX_API_ACL_H__
20 
21 #include <sx/sdk/sx_api.h>
22 #include <sx/sdk/sx_acl.h>
23 #include <sx/sdk/sx_strings.h>
24 
25 
26 /************************************************
27  * API functions
28  ***********************************************/
29 
43 sx_status_t sx_api_acl_log_verbosity_level_set(const sx_api_handle_t handle,
44  const sx_log_verbosity_target_t verbosity_target,
45  const sx_verbosity_level_t module_verbosity_level,
46  const sx_verbosity_level_t api_verbosity_level);
47 
61 sx_status_t sx_api_acl_log_verbosity_level_get(const sx_api_handle_t handle,
62  const sx_log_verbosity_target_t verbosity_target,
63  sx_verbosity_level_t *module_verbosity_level_p,
64  sx_verbosity_level_t *api_verbosity_level_p);
65 
90 sx_status_t sx_api_acl_region_set(const sx_api_handle_t handle,
91  const sx_access_cmd_t cmd,
92  const sx_acl_key_type_t key_type,
93  const sx_acl_action_type_t action_type,
94  const sx_acl_size_t region_size,
95  sx_acl_region_id_t *region_id_p);
96 
115 sx_status_t sx_api_acl_region_get(const sx_api_handle_t handle,
116  const sx_acl_region_id_t region_id,
117  sx_acl_key_type_t *key_type_p,
118  sx_acl_action_type_t *action_type_p,
119  sx_acl_size_t *region_size_p);
120 
144 sx_status_t sx_api_acl_set(const sx_api_handle_t handle,
145  const sx_access_cmd_t cmd,
146  const sx_acl_type_t acl_type,
147  const sx_acl_direction_t acl_direction,
148  const sx_acl_region_group_t *acl_region_group_p,
149  sx_acl_id_t *acl_id_p);
150 
171 sx_status_t sx_api_acl_get(const sx_api_handle_t handle,
172  const sx_acl_id_t acl_id,
173  sx_acl_type_t *acl_type_p,
174  sx_acl_direction_t *acl_direction_p,
175  sx_acl_region_group_t *acl_region_group_p);
176 
206 sx_status_t sx_api_acl_iter_get(const sx_api_handle_t handle,
207  const sx_access_cmd_t cmd,
208  const sx_acl_id_t acl_id_key,
209  const sx_acl_filter_t *acl_filter_p,
210  sx_acl_id_t *acl_id_list_p,
211  uint32_t *acl_id_cnt_p);
226 sx_status_t sx_api_acl_attributes_set(const sx_api_handle_t handle,
227  const sx_access_cmd_t cmd,
228  const sx_acl_id_t acl_id,
229  const sx_acl_attributes_t acl_attributes);
230 
243 sx_status_t sx_api_acl_attributes_get(const sx_api_handle_t handle,
244  const sx_acl_id_t acl_id,
245  const sx_acl_attributes_t *acl_attributes_p);
246 
262 sx_status_t sx_api_acl_global_attributes_set(const sx_api_handle_t handle,
263  const sx_access_cmd_t cmd,
264  const sx_acl_global_attributes_t global_acl_attributes);
265 
277 sx_status_t sx_api_acl_global_attributes_get(const sx_api_handle_t handle,
278  const sx_acl_global_attributes_t *global_acl_attributes_p);
279 
308 sx_status_t sx_api_acl_group_set(const sx_api_handle_t handle,
309  const sx_access_cmd_t cmd,
310  const sx_acl_direction_t acl_direction,
311  const sx_acl_id_t *acl_id_list_p,
312  const uint32_t acl_id_cnt,
313  sx_acl_id_t *group_id_p);
314 
336 sx_status_t sx_api_acl_group_get(const sx_api_handle_t handle,
337  const sx_acl_id_t group_id,
338  sx_acl_direction_t *acl_direction_p,
339  sx_acl_id_t *acl_id_list_p,
340  uint32_t *acl_id_cnt_p);
341 
371 sx_status_t sx_api_acl_group_iter_get(const sx_api_handle_t handle,
372  const sx_access_cmd_t cmd,
373  const sx_acl_id_t group_id_key,
374  const sx_acl_filter_t *acl_filter_p,
375  sx_acl_id_t *acl_id_list_p,
376  uint32_t *acl_id_cnt_p);
377 
403 sx_status_t sx_api_acl_group_attributes_set(const sx_api_handle_t handle,
404  const sx_access_cmd_t cmd,
405  const sx_acl_id_t acl_group_id,
406  const sx_acl_group_attributes_t *acl_group_attr_p);
407 
423 sx_status_t sx_api_acl_group_attributes_get(const sx_api_handle_t handle,
424  const sx_acl_id_t group_id,
425  const sx_acl_group_attributes_t *acl_group_attr_p);
426 
427 
459 sx_status_t sx_api_acl_policy_based_switching_set(const sx_api_handle_t handle,
460  const sx_access_cmd_t cmd,
461  const sx_swid_t swid,
462  const sx_acl_pbs_entry_t *pbs_entry_p,
463  sx_acl_pbs_id_t *pbs_id_p);
464 
489 sx_status_t sx_api_acl_policy_based_switching_get(const sx_api_handle_t handle,
490  const sx_access_cmd_t cmd,
491  const sx_swid_t swid,
492  const sx_acl_pbs_id_t pbs_id,
493  sx_acl_pbs_entry_t *pbs_entry_p);
494 
519 sx_status_t sx_api_acl_l4_port_range_set(const sx_api_handle_t handle,
520  const sx_access_cmd_t cmd,
521  const sx_acl_port_range_entry_t *l4_port_range_p,
522  sx_acl_port_range_id_t *range_id_p);
523 
542 sx_status_t sx_api_acl_l4_port_range_get(const sx_api_handle_t handle,
543  const sx_acl_port_range_id_t range_id,
544  sx_acl_port_range_entry_t *l4_port_range_p);
545 
573 sx_status_t sx_api_acl_l4_port_range_iter_get(const sx_api_handle_t handle,
574  const sx_access_cmd_t cmd,
575  const sx_acl_port_range_id_t range_id_key,
576  const sx_acl_port_range_filter_t *range_id_filter_p,
577  sx_acl_port_range_id_t *range_id_list_p,
578  uint32_t *range_id_cnt_p);
579 
606 sx_status_t sx_api_acl_range_set(const sx_api_handle_t handle,
607  const sx_access_cmd_t cmd,
608  const sx_acl_range_entry_t *range_entry_p,
609  sx_acl_port_range_id_t *range_id_p);
610 
628 sx_status_t sx_api_acl_range_get(const sx_api_handle_t handle,
629  const sx_acl_port_range_id_t range_id,
630  sx_acl_range_entry_t *range_entry_p);
631 
663 sx_status_t sx_api_acl_rules_set(const sx_api_handle_t handle,
664  const sx_access_cmd_t cmd,
665  const sx_acl_region_id_t region_id,
666  const sx_acl_rule_t *rules_list_p,
667  const uint32_t rules_cnt);
668 
694 sx_status_t sx_api_acl_rules_get(const sx_api_handle_t handle,
695  const sx_acl_region_id_t region_id,
696  const sx_acl_rule_offset_t start_offset,
697  sx_acl_rule_t *rules_list_p,
698  uint32_t *rules_cnt_p);
699 
716 sx_status_t sx_api_acl_rule_activity_get(const sx_api_handle_t handle,
717  const sx_access_cmd_t cmd,
718  const sx_acl_region_id_t region_id,
719  const sx_acl_rule_offset_t rule_offset,
720  boolean_t *activity_p);
721 
745 sx_status_t sx_api_acl_rule_block_move_set(const sx_api_handle_t handle,
746  const sx_acl_region_id_t region_id,
747  const sx_acl_rule_offset_t block_start,
748  const sx_acl_size_t block_size,
749  const sx_acl_rule_offset_t new_block_start);
750 
780 sx_status_t sx_api_acl_port_bind_set(const sx_api_handle_t handle,
781  const sx_access_cmd_t cmd,
782  const sx_port_log_id_t log_port,
783  const sx_acl_id_t acl_id);
784 
802 sx_status_t sx_api_acl_port_bind_get(const sx_api_handle_t handle,
803  const sx_port_log_id_t log_port,
804  const sx_acl_direction_t acl_direction,
805  sx_acl_id_t *acl_id_p);
806 
828 sx_status_t sx_api_acl_port_bindings_get(const sx_api_handle_t handle,
829  const sx_port_log_id_t log_port,
830  const sx_acl_direction_t acl_direction,
831  sx_acl_id_t *acl_id_p,
832  uint32_t *acl_cnt_p);
833 
861 sx_status_t sx_api_acl_vlan_group_map_set(const sx_api_handle_t handle,
862  const sx_access_cmd_t cmd,
863  const sx_swid_id_t swid,
864  const sx_vlan_id_t *vlan_list_p,
865  const uint32_t vlan_cnt,
866  sx_acl_vlan_group_t *group_id_p);
867 
893 sx_status_t sx_api_acl_vlan_group_map_get(const sx_api_handle_t handle,
894  const sx_swid_id_t swid,
895  const sx_acl_vlan_group_t group_id,
896  sx_vlan_id_t *vlan_list_p,
897  uint32_t *vlan_cnt_p);
898 
928 sx_status_t sx_api_acl_vlan_group_bind_set(const sx_api_handle_t handle,
929  const sx_access_cmd_t cmd,
930  const sx_acl_vlan_group_t vlan_group,
931  const sx_acl_id_t acl_id);
932 
953 sx_status_t sx_api_acl_vlan_group_bind_get(const sx_api_handle_t handle,
954  const sx_acl_vlan_group_t vlan_group,
955  const sx_acl_direction_t acl_direction,
956  sx_acl_id_t *acl_id_p);
957 
979 sx_status_t sx_api_acl_vlan_group_bindings_get(const sx_api_handle_t handle,
980  const sx_acl_vlan_group_t vlan_group,
981  const sx_acl_direction_t acl_direction,
982  sx_acl_id_t *acl_id_p,
983  uint32_t *acl_cnt_p);
984 
998 sx_status_t sx_api_acl_flex_key_attr_get(const sx_api_handle_t handle,
999  const sx_acl_key_type_t key_handle,
1000  sx_acl_flex_key_attr_t * key_attr_p);
1001 
1019 sx_status_t sx_api_acl_flex_key_set(const sx_api_handle_t handle,
1020  const sx_access_cmd_t cmd,
1021  const sx_acl_key_t * key_list_p,
1022  const uint32_t key_count,
1023  sx_acl_key_type_t * key_handle_p);
1024 
1042 sx_status_t sx_api_acl_flex_key_get(const sx_api_handle_t handle,
1043  const sx_acl_key_type_t key_handle,
1044  sx_acl_key_t *key_list_p,
1045  uint32_t * key_count_p);
1046 
1047 
1078 sx_status_t sx_api_acl_flex_rules_set(const sx_api_handle_t handle,
1079  const sx_access_cmd_t cmd,
1080  const sx_acl_region_id_t region_id,
1081  sx_acl_rule_offset_t *offsets_list_p,
1082  const sx_flex_acl_flex_rule_t *rules_list_p,
1083  const uint32_t rules_cnt);
1084 
1085 
1125 sx_status_t sx_api_acl_flex_rules_get(const sx_api_handle_t handle,
1126  const sx_acl_region_id_t region_id,
1127  sx_acl_rule_offset_t *offsets_list_p,
1128  sx_flex_acl_flex_rule_t *rules_list_p,
1129  uint32_t * rules_cnt_p);
1130 
1131 
1159 sx_status_t sx_api_acl_rif_bind_set(const sx_api_handle_t handle,
1160  const sx_access_cmd_t cmd,
1161  const sx_rif_id_t rif_id,
1162  const sx_acl_id_t acl_id);
1163 
1181 sx_status_t sx_api_acl_rif_bind_get(const sx_api_handle_t handle,
1182  const sx_rif_id_t rif_id,
1183  const sx_acl_direction_t acl_direction,
1184  sx_acl_id_t *acl_id_p);
1185 
1207 sx_status_t sx_api_acl_rif_bindings_get(const sx_api_handle_t handle,
1208  const sx_rif_id_t rif_id,
1209  const sx_acl_direction_t acl_direction,
1210  sx_acl_id_t *acl_id_p,
1211  uint32_t *acl_cnt_p);
1212 
1230 sx_status_t sx_api_acl_group_bind_set(sx_api_handle_t handle,
1231  const sx_access_cmd_t cmd,
1232  sx_acl_id_t group_id,
1233  sx_acl_id_t next_group_id);
1234 
1249 sx_status_t sx_api_acl_group_bind_get(sx_api_handle_t handle,
1250  sx_acl_id_t group_id,
1251  sx_acl_id_t * group_id_p);
1252 
1278 sx_status_t sx_api_acl_port_list_set(const sx_api_handle_t handle,
1279  const sx_access_cmd_t cmd,
1280  sx_acl_port_list_entry_t *port_list_p,
1281  const uint32_t port_list_cnt,
1282  sx_acl_port_list_id_t *port_list_id_p);
1283 
1303 sx_status_t sx_api_acl_port_list_get(const sx_api_handle_t handle,
1304  const sx_acl_port_list_id_t port_list_id,
1305  sx_acl_port_list_entry_t *port_list_p,
1306  uint32_t *port_list_cnt_p);
1307 
1308 
1323 sx_status_t sx_api_acl_region_hw_size_get(const sx_api_handle_t handle,
1324  const sx_acl_region_id_t region_id,
1325  sx_acl_size_t *region_size_p);
1326 
1327 
1355 sx_status_t sx_api_acl_custom_bytes_set(sx_api_handle_t handle,
1356  sx_access_cmd_t cmd,
1357  const sx_acl_custom_bytes_set_attributes_t *custom_bytes_set_attributes,
1358  sx_acl_key_t *custom_bytes_set_key_id_p,
1359  uint32_t *custom_bytes_set_key_id_cnt_p);
1360 
1377 sx_status_t sx_api_acl_custom_bytes_get(sx_api_handle_t handle,
1378  sx_acl_key_t *custom_bytes_set_key_id_p,
1379  sx_acl_custom_bytes_set_attributes_t *custom_bytes_set_attributes_p);
1380 
1406 sx_status_t sx_api_acl_policy_based_ilm_set(const sx_api_handle_t handle,
1407  const sx_access_cmd_t cmd,
1408  const sx_acl_pbilm_entry_t *pbilm_entry_p,
1409  sx_acl_pbilm_id_t *pbilm_id_p);
1410 
1428 sx_status_t sx_api_acl_policy_based_ilm_get(const sx_api_handle_t handle,
1429  const sx_acl_pbilm_id_t pbilm_id,
1430  sx_acl_pbilm_entry_t *pbilm_entry_p);
1431 
1449 sx_status_t sx_api_acl_flex_rules_priority_set(const sx_api_handle_t handle,
1450  const sx_acl_region_id_t region_id,
1451  const sx_flex_acl_rule_priority_t min_priority,
1452  const sx_flex_acl_rule_priority_t max_priority,
1453  const int32_t priority_change);
1454 
1455 
1456 #endif /* ifndef __SX_API_ACL_H__ */
sx_api_acl_group_bind_set
sx_status_t sx_api_acl_group_bind_set(sx_api_handle_t handle, const sx_access_cmd_t cmd, sx_acl_id_t group_id, sx_acl_id_t next_group_id)
sx_api_acl_log_verbosity_level_get
sx_status_t sx_api_acl_log_verbosity_level_get(const sx_api_handle_t handle, const sx_log_verbosity_target_t verbosity_target, sx_verbosity_level_t *module_verbosity_level_p, sx_verbosity_level_t *api_verbosity_level_p)
sx_api_acl_l4_port_range_iter_get
sx_status_t sx_api_acl_l4_port_range_iter_get(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_port_range_id_t range_id_key, const sx_acl_port_range_filter_t *range_id_filter_p, sx_acl_port_range_id_t *range_id_list_p, uint32_t *range_id_cnt_p)
sx_api_acl_range_set
sx_status_t sx_api_acl_range_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_range_entry_t *range_entry_p, sx_acl_port_range_id_t *range_id_p)
sx_api_acl_flex_key_attr_get
sx_status_t sx_api_acl_flex_key_attr_get(const sx_api_handle_t handle, const sx_acl_key_type_t key_handle, sx_acl_flex_key_attr_t *key_attr_p)
sx_api_acl_get
sx_status_t sx_api_acl_get(const sx_api_handle_t handle, const sx_acl_id_t acl_id, sx_acl_type_t *acl_type_p, sx_acl_direction_t *acl_direction_p, sx_acl_region_group_t *acl_region_group_p)
sx_api_acl_group_get
sx_status_t sx_api_acl_group_get(const sx_api_handle_t handle, const sx_acl_id_t group_id, sx_acl_direction_t *acl_direction_p, sx_acl_id_t *acl_id_list_p, uint32_t *acl_id_cnt_p)
sx_api_acl_port_list_set
sx_status_t sx_api_acl_port_list_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, sx_acl_port_list_entry_t *port_list_p, const uint32_t port_list_cnt, sx_acl_port_list_id_t *port_list_id_p)
sx_api_acl_flex_key_get
sx_status_t sx_api_acl_flex_key_get(const sx_api_handle_t handle, const sx_acl_key_type_t key_handle, sx_acl_key_t *key_list_p, uint32_t *key_count_p)
sx_api_acl_vlan_group_bind_get
sx_status_t sx_api_acl_vlan_group_bind_get(const sx_api_handle_t handle, const sx_acl_vlan_group_t vlan_group, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p)
sx_api_acl_policy_based_ilm_get
sx_status_t sx_api_acl_policy_based_ilm_get(const sx_api_handle_t handle, const sx_acl_pbilm_id_t pbilm_id, sx_acl_pbilm_entry_t *pbilm_entry_p)
sx_api_acl_group_bind_get
sx_status_t sx_api_acl_group_bind_get(sx_api_handle_t handle, sx_acl_id_t group_id, sx_acl_id_t *group_id_p)
sx_api_acl_rules_get
sx_status_t sx_api_acl_rules_get(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, const sx_acl_rule_offset_t start_offset, sx_acl_rule_t *rules_list_p, uint32_t *rules_cnt_p)
sx_api_acl_rif_bind_get
sx_status_t sx_api_acl_rif_bind_get(const sx_api_handle_t handle, const sx_rif_id_t rif_id, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p)
sx_api_acl_region_hw_size_get
sx_status_t sx_api_acl_region_hw_size_get(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, sx_acl_size_t *region_size_p)
sx_api_acl_group_attributes_get
sx_status_t sx_api_acl_group_attributes_get(const sx_api_handle_t handle, const sx_acl_id_t group_id, const sx_acl_group_attributes_t *acl_group_attr_p)
sx_api_acl_flex_rules_priority_set
sx_status_t sx_api_acl_flex_rules_priority_set(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, const sx_flex_acl_rule_priority_t min_priority, const sx_flex_acl_rule_priority_t max_priority, const int32_t priority_change)
sx_api_acl_policy_based_switching_get
sx_status_t sx_api_acl_policy_based_switching_get(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_swid_t swid, const sx_acl_pbs_id_t pbs_id, sx_acl_pbs_entry_t *pbs_entry_p)
sx_api_acl_l4_port_range_get
sx_status_t sx_api_acl_l4_port_range_get(const sx_api_handle_t handle, const sx_acl_port_range_id_t range_id, sx_acl_port_range_entry_t *l4_port_range_p)
sx_api_acl_global_attributes_set
sx_status_t sx_api_acl_global_attributes_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_global_attributes_t global_acl_attributes)
sx_api_acl_custom_bytes_get
sx_status_t sx_api_acl_custom_bytes_get(sx_api_handle_t handle, sx_acl_key_t *custom_bytes_set_key_id_p, sx_acl_custom_bytes_set_attributes_t *custom_bytes_set_attributes_p)
sx_api_acl_vlan_group_bindings_get
sx_status_t sx_api_acl_vlan_group_bindings_get(const sx_api_handle_t handle, const sx_acl_vlan_group_t vlan_group, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p, uint32_t *acl_cnt_p)
sx_api_acl_rif_bindings_get
sx_status_t sx_api_acl_rif_bindings_get(const sx_api_handle_t handle, const sx_rif_id_t rif_id, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p, uint32_t *acl_cnt_p)
sx_api_acl_vlan_group_map_set
sx_status_t sx_api_acl_vlan_group_map_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_swid_id_t swid, const sx_vlan_id_t *vlan_list_p, const uint32_t vlan_cnt, sx_acl_vlan_group_t *group_id_p)
sx_api_acl_flex_key_set
sx_status_t sx_api_acl_flex_key_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_key_t *key_list_p, const uint32_t key_count, sx_acl_key_type_t *key_handle_p)
sx_api_acl_policy_based_ilm_set
sx_status_t sx_api_acl_policy_based_ilm_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_pbilm_entry_t *pbilm_entry_p, sx_acl_pbilm_id_t *pbilm_id_p)
sx_api_acl_iter_get
sx_status_t sx_api_acl_iter_get(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_id_t acl_id_key, const sx_acl_filter_t *acl_filter_p, sx_acl_id_t *acl_id_list_p, uint32_t *acl_id_cnt_p)
sx_api_acl_set
sx_status_t sx_api_acl_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_type_t acl_type, const sx_acl_direction_t acl_direction, const sx_acl_region_group_t *acl_region_group_p, sx_acl_id_t *acl_id_p)
sx_api_acl_port_list_get
sx_status_t sx_api_acl_port_list_get(const sx_api_handle_t handle, const sx_acl_port_list_id_t port_list_id, sx_acl_port_list_entry_t *port_list_p, uint32_t *port_list_cnt_p)
sx_api_acl_port_bind_get
sx_status_t sx_api_acl_port_bind_get(const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p)
sx_api_acl_group_set
sx_status_t sx_api_acl_group_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_direction_t acl_direction, const sx_acl_id_t *acl_id_list_p, const uint32_t acl_id_cnt, sx_acl_id_t *group_id_p)
sx_api_acl_port_bind_set
sx_status_t sx_api_acl_port_bind_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_port_log_id_t log_port, const sx_acl_id_t acl_id)
sx_api_acl_vlan_group_bind_set
sx_status_t sx_api_acl_vlan_group_bind_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_vlan_group_t vlan_group, const sx_acl_id_t acl_id)
sx_api_acl_global_attributes_get
sx_status_t sx_api_acl_global_attributes_get(const sx_api_handle_t handle, const sx_acl_global_attributes_t *global_acl_attributes_p)
sx_api_acl_rif_bind_set
sx_status_t sx_api_acl_rif_bind_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_rif_id_t rif_id, const sx_acl_id_t acl_id)
sx_api_acl_port_bindings_get
sx_status_t sx_api_acl_port_bindings_get(const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_acl_direction_t acl_direction, sx_acl_id_t *acl_id_p, uint32_t *acl_cnt_p)
sx_api_acl_flex_rules_get
sx_status_t sx_api_acl_flex_rules_get(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, sx_acl_rule_offset_t *offsets_list_p, sx_flex_acl_flex_rule_t *rules_list_p, uint32_t *rules_cnt_p)
sx_api_acl_region_get
sx_status_t sx_api_acl_region_get(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, sx_acl_key_type_t *key_type_p, sx_acl_action_type_t *action_type_p, sx_acl_size_t *region_size_p)
sx_api_acl_custom_bytes_set
sx_status_t sx_api_acl_custom_bytes_set(sx_api_handle_t handle, sx_access_cmd_t cmd, const sx_acl_custom_bytes_set_attributes_t *custom_bytes_set_attributes, sx_acl_key_t *custom_bytes_set_key_id_p, uint32_t *custom_bytes_set_key_id_cnt_p)
sx_api_acl_vlan_group_map_get
sx_status_t sx_api_acl_vlan_group_map_get(const sx_api_handle_t handle, const sx_swid_id_t swid, const sx_acl_vlan_group_t group_id, sx_vlan_id_t *vlan_list_p, uint32_t *vlan_cnt_p)
sx_api_acl_group_attributes_set
sx_status_t sx_api_acl_group_attributes_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_id_t acl_group_id, const sx_acl_group_attributes_t *acl_group_attr_p)
sx_api_acl_attributes_set
sx_status_t sx_api_acl_attributes_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_id_t acl_id, const sx_acl_attributes_t acl_attributes)
sx_api_acl_policy_based_switching_set
sx_status_t sx_api_acl_policy_based_switching_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_swid_t swid, const sx_acl_pbs_entry_t *pbs_entry_p, sx_acl_pbs_id_t *pbs_id_p)
sx_api_acl_log_verbosity_level_set
sx_status_t sx_api_acl_log_verbosity_level_set(const sx_api_handle_t handle, const sx_log_verbosity_target_t verbosity_target, const sx_verbosity_level_t module_verbosity_level, const sx_verbosity_level_t api_verbosity_level)
sx_api_acl_rules_set
sx_status_t sx_api_acl_rules_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_region_id_t region_id, const sx_acl_rule_t *rules_list_p, const uint32_t rules_cnt)
sx_api_acl_flex_rules_set
sx_status_t sx_api_acl_flex_rules_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_region_id_t region_id, sx_acl_rule_offset_t *offsets_list_p, const sx_flex_acl_flex_rule_t *rules_list_p, const uint32_t rules_cnt)
sx_api_acl_range_get
sx_status_t sx_api_acl_range_get(const sx_api_handle_t handle, const sx_acl_port_range_id_t range_id, sx_acl_range_entry_t *range_entry_p)
sx_api_acl_region_set
sx_status_t sx_api_acl_region_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_key_type_t key_type, const sx_acl_action_type_t action_type, const sx_acl_size_t region_size, sx_acl_region_id_t *region_id_p)
sx_api_acl_attributes_get
sx_status_t sx_api_acl_attributes_get(const sx_api_handle_t handle, const sx_acl_id_t acl_id, const sx_acl_attributes_t *acl_attributes_p)
sx_api_acl_l4_port_range_set
sx_status_t sx_api_acl_l4_port_range_set(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_port_range_entry_t *l4_port_range_p, sx_acl_port_range_id_t *range_id_p)
sx_api_acl_rule_activity_get
sx_status_t sx_api_acl_rule_activity_get(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_region_id_t region_id, const sx_acl_rule_offset_t rule_offset, boolean_t *activity_p)
sx_api_acl_rule_block_move_set
sx_status_t sx_api_acl_rule_block_move_set(const sx_api_handle_t handle, const sx_acl_region_id_t region_id, const sx_acl_rule_offset_t block_start, const sx_acl_size_t block_size, const sx_acl_rule_offset_t new_block_start)
sx_api_acl_group_iter_get
sx_status_t sx_api_acl_group_iter_get(const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_id_t group_id_key, const sx_acl_filter_t *acl_filter_p, sx_acl_id_t *acl_id_list_p, uint32_t *acl_id_cnt_p)