| 354 | } |
| 355 | |
| 356 | int |
| 357 | rte_rib_get_depth(const struct rte_rib_node *node, uint8_t *depth) |
| 358 | { |
| 359 | if (unlikely(node == NULL || depth == NULL)) { |
| 360 | rte_errno = EINVAL; |
| 361 | return -1; |
| 362 | } |
| 363 | *depth = node->depth; |
| 364 | return 0; |
| 365 | } |
| 366 | |
| 367 | void * |
| 368 | rte_rib_get_ext(struct rte_rib_node *node) |
no outgoing calls