class TunEndPoint
Defined at line 105 of file gen/third_party/openweave-core/src/include/InetLayer/TunEndPoint.h
Objects of this class represent tunnel interfaces.
Public Members
mState
void * mAppState
OnPacketReceivedFunct OnPacketReceived
OnReceiveErrorFunct OnReceiveError
Public Methods
void Init (InetLayer * inetLayer)
INET_ERROR Open (const char * intfName)
void Free ()
Close the tunnel and release handle on the object.
fuchsia::net::interfaces::admin::ControlSyncPtr * GetInterfaceControlSyncPtr ()
Defined at line 192 of file gen/third_party/openweave-core/src/include/InetLayer/TunEndPoint.h
INET_ERROR Send (Weave::System::PacketBuffer * message)
bool IsInterfaceUp ()
INET_ERROR InterfaceUp ()
INET_ERROR InterfaceDown ()
InterfaceId GetTunnelInterfaceId ()
Enumerations
enum
| Name | Value |
|---|---|
| kState_Open | 0 |
| kState_Closed | 1 |
Basic dynamic state of the underlying tunnel.
Defined at line 118 of file gen/third_party/openweave-core/src/include/InetLayer/TunEndPoint.h
enum RouteOp
| Name | Value |
|---|---|
| kRouteTunIntf_Add | 0 |
| kRouteTunIntf_Del | 1 |
Operation when setting route to tunnel interface.
Defined at line 131 of file gen/third_party/openweave-core/src/include/InetLayer/TunEndPoint.h
Friends
class InetLayer