Lines Matching refs:route_entry
78 static struct net_route_entry *route_entry; variable
377 route_entry = net_route_add(my_iface, in test_route_add()
383 zassert_not_null(route_entry, "Route add failed"); in test_route_add()
395 zassert_equal_ptr(update_entry, route_entry, in test_route_update()
403 ret = net_route_del(route_entry); in test_route_del()
413 ret = net_route_del(route_entry); in test_route_del_again()
423 nexthop = net_route_get_nexthop(route_entry); in test_route_get_nexthop()
497 route_entry = net_route_add(my_iface, in test_route_lifetime()
503 zassert_not_null(route_entry, "Route add failed"); in test_route_lifetime()
505 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime()
506 zassert_not_null(route_entry, "Route not found"); in test_route_lifetime()
508 net_route_update_lifetime(route_entry, 1); in test_route_lifetime()
512 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime()
513 zassert_is_null(route_entry, "Route did not expire"); in test_route_lifetime()
521 route_entry = net_route_add(my_iface, in test_route_preference()
526 zassert_not_null(route_entry, "Route add failed"); in test_route_preference()
533 zassert_equal_ptr(update_entry, route_entry, in test_route_preference()
544 net_route_del(route_entry); in test_route_preference()