nl:: Weave:: Profiles:: WeaveTunnel:: WeaveTunnelHeader
Summary
Public attributes |
|
---|---|
Version
|
uint8_t
|
Public static functions |
|
---|---|
DecodeTunnelHeader(WeaveTunnelHeader *tunHeader, PacketBuffer *message)
|
Decode Tunnel header out from the PacketBuffer to decapsulate the IPv6 packet out.
|
EncodeTunnelHeader(WeaveTunnelHeader *tunHeader, PacketBuffer *message)
|
Encode Tunnel header into the PacketBuffer to encapsulate the IPv6 packet being sent.
|
Public attributes
Version
uint8_t Version
Public static functions
DecodeTunnelHeader
WEAVE_ERROR DecodeTunnelHeader( WeaveTunnelHeader *tunHeader, PacketBuffer *message )
Decode Tunnel header out from the PacketBuffer to decapsulate the IPv6 packet out.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Returns |
WEAVE_ERROR WEAVE_NO_ERROR on success, else error;
|
EncodeTunnelHeader
WEAVE_ERROR EncodeTunnelHeader( WeaveTunnelHeader *tunHeader, PacketBuffer *message )
Encode Tunnel header into the PacketBuffer to encapsulate the IPv6 packet being sent.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Returns |
WEAVE_ERROR WEAVE_NO_ERROR on success, else error;
|