lokinet/llarp/win32/wintun.hpp

23 lines
452 B
C++
Raw Permalink Normal View History

#pragma once
#include <memory>
namespace llarp
{
struct AbstractRouter;
}
namespace llarp::vpn
{
struct InterfaceInfo;
class NetworkInterface;
} // namespace llarp::vpn
namespace llarp::win32::wintun
{
/// makes a new vpn interface with a wintun context given info and a router pointer
std::shared_ptr<vpn::NetworkInterface>
2022-09-12 16:17:53 +00:00
make_interface(const vpn::InterfaceInfo& info, AbstractRouter* router);
2022-09-12 16:17:53 +00:00
} // namespace llarp::win32::wintun