# wrsw_rtud: shift_hcam_entries

add_hw_req
aging_time
bank
cam_addr
cam_bucket
clean_aging_map
clean_fd
clean_hcam_entry
clean_htab_entry
clean_list
clean_vd
delete_hcam_entry
delete_htab_entry
fd_mutex
find_empty_bucket_in_hcam
FOUND
HCAM
hcam_contains
HTAB
htab_contains
HW_CLEAN_REQ
hw_req_list
HW_WRITE_REQ
matched
NOT_FOUND
NOT_FOUND_AND_FIRST
NOT_FOUND_AND_FULL
rtu_agr_hcam
rtu_agr_htab
rtu_fd_age_out
rtu_fd_age_update
rtu_fd_commit
rtu_fd_create_entry
rtu_fd_flush
rtu_fd_init
rtu_fd_lookup_htab_entry
rtu_fd_set_aging_time
rtu_fd_set_hash_poly
rtu_hcam
rtu_htab
rtu_hw_commit
set_active_bank
shift_hcam_entries
shift_htab_entries
tail
update_aging_map
vlan_tab
write_hcam_entry
write_htab_entry
zbt_addr

static int shift_hcam_entries | ( | int | bucket ) | `[static]`

Shifts HCAM list one position, starting at bucket. If entry to remove is end of bucket, marks previous one (if exists) as the new end of bucket.

Returns:
  -1 if more entries remain in HCAM. Otherwise, returns the hash for entry, in order to help modifying the last HTAB entry

All Classes Files Functions Variables Defines