Lines Matching refs:entry_ind
584 uint32_t entry_ind, i; in get_bitshift() local
587 entry_ind = 0; in get_bitshift()
593 entry_ind = entry_ind | ip[i-1] << bitshift; in get_bitshift()
596 return entry_ind; in get_bitshift()
612 uint32_t entry_ind; in simulate_add_step() local
620 entry_ind = get_bitshift(ip, first_byte, bytes); in simulate_add_step()
630 if (tbl[entry_ind].valid == 0 || tbl[entry_ind].ext_entry == 0) { in simulate_add_step()
646 next_tbl_ind = tbl[entry_ind].lpm6_tbl8_gindex; in simulate_add_step()
665 uint32_t entry_ind, tbl_range, tbl8_group_start, tbl8_group_end, i; in add_step() local
674 entry_ind = get_bitshift(ip, first_byte, bytes); in add_step()
686 for (i = entry_ind; i < (entry_ind + tbl_range); i++) { in add_step()
725 if (!tbl[entry_ind].valid) { in add_step()
741 init_tbl8_header(lpm, tbl8_gindex, tbl_ind, entry_ind); in add_step()
752 tbl[entry_ind] = new_tbl_entry; in add_step()
762 else if (tbl[entry_ind].ext_entry == 0) { in add_step()
774 .next_hop = tbl[entry_ind].next_hop, in add_step()
775 .depth = tbl[entry_ind].depth, in add_step()
788 init_tbl8_header(lpm, tbl8_gindex, tbl_ind, entry_ind); in add_step()
803 tbl[entry_ind] = new_tbl_entry; in add_step()
810 *next_tbl_ind = tbl[entry_ind].lpm6_tbl8_gindex; in add_step()