| 343 | } |
| 344 | |
| 345 | int |
| 346 | rte_rib_get_ip(const struct rte_rib_node *node, uint32_t *ip) |
| 347 | { |
| 348 | if (unlikely(node == NULL || ip == NULL)) { |
| 349 | rte_errno = EINVAL; |
| 350 | return -1; |
| 351 | } |
| 352 | *ip = node->ip; |
| 353 | return 0; |
| 354 | } |
| 355 | |
| 356 | int |
| 357 | rte_rib_get_depth(const struct rte_rib_node *node, uint8_t *depth) |
no outgoing calls