Lines Matching refs:next_hop

37 #define lpm6_tbl8_gindex next_hop
56 uint32_t next_hop: 21; /**< Next hop / next table to be checked. */ member
68 uint32_t next_hop; /**< Rule next hop. */ member
229 uint64_t next_hop;
234 (void **) &next_hop, &iter) >= 0)
236 (uint32_t) next_hop);
453 uint32_t *next_hop)
462 *next_hop = (uint32_t) hash_val;
472 uint32_t *next_hop)
479 return rule_find_with_key(lpm, &rule_key, next_hop);
492 rule_add(struct rte_lpm6 *lpm, uint8_t *ip, uint8_t depth, uint32_t next_hop)
513 (void *)(uintptr_t) next_hop);
534 uint8_t new_depth, uint32_t next_hop, uint8_t valid) in expand_rule() argument
544 .next_hop = next_hop, in expand_rule()
559 next_hop, valid); in expand_rule()
662 uint8_t first_byte, uint8_t depth, uint32_t next_hop, in add_step() argument
691 .next_hop = next_hop, in add_step()
709 next_hop, VALID); in add_step()
774 .next_hop = tbl[entry_ind].next_hop, in add_step()
864 uint32_t next_hop, int is_new_rule) in rte_lpm6_add() argument
889 int is_new_rule = rule_add(lpm, masked_ip, depth, next_hop); in rte_lpm6_add()
898 masked_ip, ADD_FIRST_BYTE, 1, depth, next_hop, in rte_lpm6_add()
910 depth, next_hop, is_new_rule); in rte_lpm6_add()
925 uint8_t first_byte, uint32_t *next_hop) in lookup_step() argument
945 *next_hop = ((uint32_t)tbl_entry & RTE_LPM6_TBL8_BITMASK); in lookup_step()
955 uint32_t *next_hop) in rte_lpm6_lookup() argument
964 if ((lpm == NULL) || (ip == NULL) || (next_hop == NULL)) in rte_lpm6_lookup()
975 status = lookup_step(lpm, tbl, &tbl_next, ip, first_byte++, next_hop); in rte_lpm6_lookup()
993 uint32_t tbl24_index, next_hop; in rte_lpm6_lookup_bulk_func() local
1014 first_byte++, &next_hop); in rte_lpm6_lookup_bulk_func()
1021 next_hops[i] = (int32_t)next_hop; in rte_lpm6_lookup_bulk_func()
1028 fill_rule6(char *buffer, const uint8_t *ip, uint8_t depth, uint32_t next_hop) in fill_rule6() argument
1034 rule->next_hop = next_hop; in fill_rule6()
1045 uint32_t *next_hop)
1050 if ((lpm == NULL) || next_hop == NULL || ip == NULL ||
1058 return rule_find(lpm, masked_ip, depth, next_hop);
1174 uint32_t next_hop;
1194 ret = rule_find_with_key(lpm, &rule_key, &next_hop);
1198 rule->next_hop = next_hop;
1290 .next_hop = lsp_rule->next_hop, in remove_tbl()
1300 .next_hop = 0, in remove_tbl()
1380 lsp_rule->next_hop, VALID); in rte_lpm6_delete()
1393 .next_hop = lsp_rule->next_hop, in rte_lpm6_delete()
1403 .next_hop = 0, in rte_lpm6_delete()