9 #define TST_MAX 4294967295 18 quint64
get_INT64(u_char *field, qint64 *int64);
26 quint64
get_UINT64(u_char *field, quint64 *uint64);
34 quint64
get_INT32(u_char *field, qint32 *int32);
42 quint64
get_UINT32(u_char *field, quint32 *uint32);
50 quint64
get_INT16(u_char *field, qint16 *int16);
58 quint64
get_UINT16(u_char *field, quint16 *uint16);
66 quint64
get_INT8(u_char *field, qint8 *int8);
74 quint64
get_UINT8(u_char *field, quint8 *uint8);
94 #endif // APINETWORK_H quint64 get_INT8(u_char *field, qint8 *int8)
get_INT8 Extract an integer encoded in 8 bits from a byte array.
quint64 get_INT64(u_char *field, qint64 *int64)
get_INT64 Extract an integer encoded in 64 bits from a byte array.
Usefull functions and declarations.
quint64 get_UINT32(u_char *field, quint32 *uint32)
get_UINT32 Extract an unsigned integer encoded in 32 bits from a byte array.
quint64 get_INT16(u_char *field, qint16 *int16)
get_INT16 Extract an integer encoded in 16 bits from a byte array.
quint64 get_INT32(u_char *field, qint32 *int32)
get_INT32 Extract an integer encoded in 32 bits from a byte array.
bool isDuplicatePacketDetectionTimestampSN(quint32 lastReceivedTimestamp, quint32 nowReceivedTimestamp, quint16 lastReceivedSN, quint16 nowReceivedSN)
isDuplicatePacketDetectionTimestamp Calculate if the packet is a duplicate using the timestamp and th...
quint64 get_UINT8(u_char *field, quint8 *uint8)
get_UINT8 Extract an unsigned integer encoded in 64 bits from a byte array.
quint64 get_UINT16(u_char *field, quint16 *uint16)
get_INT64 Extract an integer encoded in 64 bits from a byte array.
bool isDuplicatePacketDetectionTimestamp(quint32 lastReceivedTimestamp, quint32 nowReceivedTimestamp)
isDuplicatePacketDetectionTimestamp Calculate if the packet is a duplicate using the timestamp of the...
quint64 get_UINT64(u_char *field, quint64 *uint64)
get_UINT64 Extract an unsigned integer encoded in 64 bits from a byte array.