DecodedIPPacket
Resumen
Atributos públicos |
|
---|---|
ackMsgId
|
uint32_t
|
checksum
|
uint16_t
|
destAddr[NL_IP6_ADDR_LEN_IN_BYTES]
|
uint8_t
|
destNodeId
|
uint64_t
|
destPort
|
uint16_t
|
encryptionType
|
uint8_t
|
exchFlags
|
uint8_t
|
exchangeId
|
uint16_t
|
icmpv6Code
|
uint8_t
|
icmpv6Type
|
uint8_t
|
ipPktSize
|
uint16_t
|
ipProtoType
|
uint8_t
|
ipProtoVersion
|
uint8_t
|
keyId
|
uint8_t
|
messageId
|
uint32_t
|
msgHdrFlags
|
uint16_t
|
msgType
|
uint16_t
|
profileId
|
uint32_t
|
srcAddr[NL_IP6_ADDR_LEN_IN_BYTES]
|
uint8_t
|
srcNodeId
|
uint64_t
|
srcPort
|
uint16_t
|
Funciones públicas |
|
---|---|
DoesPacketHaveWeaveMessage(void) const
|
bool
Comprueba si un paquete decodificado contiene un mensaje de Weave.
|
PacketHeaderDecode(const uint8_t *pkt, uint16_t pktLen)
|
Analiza y decodifica los campos de los encabezados IP, UDP/TCP y Weave.
|
Atributos públicos
ackMsgId
uint32_t ackMsgId
checksum
uint16_t checksum
destAddr
uint8_t destAddr[NL_IP6_ADDR_LEN_IN_BYTES]
destNodeId
uint64_t destNodeId
destPort
uint16_t destPort
encryptionType
uint8_t encryptionType
exchFlags
uint8_t exchFlags
exchangeId
uint16_t exchangeId
icmpv6Code
uint8_t icmpv6Code
icmpv6Type
uint8_t icmpv6Type
ipPktSize
uint16_t ipPktSize
ipProtoType
uint8_t ipProtoType
ipProtoVersion
uint8_t ipProtoVersion
keyId
uint8_t keyId
messageId
uint32_t messageId
msgHdrFlags
uint16_t msgHdrFlags
msgType
uint16_t msgType
ID del perfil
uint32_t profileId
srcAddr
uint8_t srcAddr[NL_IP6_ADDR_LEN_IN_BYTES]
srcNodeId
uint64_t srcNodeId
srcPort
uint16_t srcPort
Funciones públicas
DoesPacketHaveWeaveMessage
bool DoesPacketHaveWeaveMessage( void ) const
Comprueba si un paquete decodificado contiene un mensaje de Weave.
.PacketHeaderDecode
WEAVE_ERROR PacketHeaderDecode( const uint8_t *pkt, uint16_t pktLen )
Analiza y decodifica los campos de los encabezados IP, UDP/TCP y Weave.
Detalles | |||||
---|---|---|---|---|---|
Parámetros |
|
||||
Resultado que se muestra |
INET_ERROR durante el análisis del paquete o INET_NO_ERROR si la operación se realizó correctamente.
|