llarp::vpn::ApplePlatform
Inherits from llarp::vpn::Platform
Public Functions
| Name | |
|---|---|
| virtual std::shared_ptr< NetworkInterface > | ObtainInterface(InterfaceInfo info, AbstractRouter * router) override get a new network interface fully configured given the interface info blocks until ready, throws on error |
| virtual IRouteManager & | RouteManager() override get owned ip route manager for managing routing table |
Additional inherited members
Public Functions inherited from llarp::vpn::Platform
| Name | |
|---|---|
| Platform() =default | |
| Platform(const Platform & ) =delete | |
| Platform(Platform && ) =delete | |
| virtual | ~Platform() =default |
| std::shared_ptr< NetworkInterface > | CreateInterface(InterfaceInfo info, AbstractRouter * router) create and start a network interface |
| std::shared_ptr< NetworkInterface > | CreateDummyInterface(InterfaceInfo ) create a network interface that doesn't actually write packets to the OS but instead only replies to icmp. |
| virtual std::shared_ptr< I_Packet_IO > | create_packet_io(unsigned int ifindex, const std::optional< SockAddr > & dns_upstream_src) create a packet io that will read (and optionally write) packets on a network interface the lokinet process does not own |
Public Functions Documentation
function ObtainInterface
inline virtual std::shared_ptr< NetworkInterface > ObtainInterface(
InterfaceInfo info,
AbstractRouter * router
) override
get a new network interface fully configured given the interface info blocks until ready, throws on error
Reimplements: llarp::vpn::Platform::ObtainInterface
function RouteManager
inline virtual IRouteManager & RouteManager() override
get owned ip route manager for managing routing table
Reimplements: llarp::vpn::Platform::RouteManager
Updated on 2026-01-10 at 22:49:45 +0000