| 422 | } |
| 423 | |
| 424 | int |
| 425 | rte_rib6_get_depth(const struct rte_rib6_node *node, uint8_t *depth) |
| 426 | { |
| 427 | if (unlikely(node == NULL || depth == NULL)) { |
| 428 | rte_errno = EINVAL; |
| 429 | return -1; |
| 430 | } |
| 431 | *depth = node->depth; |
| 432 | return 0; |
| 433 | } |
| 434 | |
| 435 | void * |
| 436 | rte_rib6_get_ext(struct rte_rib6_node *node) |
no outgoing calls