mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 20:16:48 +00:00
9767c4db0e
This is required in case the send and receive of IP packets is performed by multiple thread because lwip is not thread safe. issue #3568
27 lines
556 B
C++
27 lines
556 B
C++
/*
|
|
* \brief Genode native lwIP initalization
|
|
* \author Emery Hemingway
|
|
* \date 2017-08-21
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2017 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__LWIP__GENODE_INIT_H_
|
|
#define _INCLUDE__LWIP__GENODE_INIT_H_
|
|
|
|
#include <timer/timeout.h>
|
|
#include <base/allocator.h>
|
|
|
|
namespace Lwip {
|
|
void genode_init(Genode::Allocator &heap, Genode::Timeout_scheduler &timer);
|
|
|
|
Genode::Lock &lock();
|
|
}
|
|
|
|
#endif
|