#include <sys/types.h>
#include <netinet/in.h>
Go to the source code of this file.
Typedefs | |
typedef UINT16 | GENCP_STATUS |
#define _GENCP_COMPATIBILITY_OFFSET 64 |
Definition at line 243 of file gencp_defines.h.
#define ACCESS_PRIVILEGE_AVAILABLE 0 |
Definition at line 307 of file gencp_defines.h.
#define ACCESS_PRIVILEGE_EXCLUSIVE 1 |
Definition at line 308 of file gencp_defines.h.
#define ACCESS_PRIVILEGE_MASK 0x00000007l |
Definition at line 306 of file gencp_defines.h.
#define ACCESS_PRIVILEGE_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01C4) |
Definition at line 266 of file gencp_defines.h.
#define ACCESS_PRIVILEGE_SIZE 4 |
Definition at line 288 of file gencp_defines.h.
#define bswap_16 | ( | s | ) | ((((s) << 8) & 0xff00U) | (((s) >> 8) & 0x00ffU)) |
Definition at line 47 of file gencp_defines.h.
#define bswap_32 | ( | l | ) | ((((l) << 24) & 0xff000000) | (((l) << 8) & 0x00ff0000) | (((l) >> 8) & 0x0000ff00) | (((l) >> 24) & 0x000000ff)) |
Definition at line 48 of file gencp_defines.h.
#define bswap_64 | ( | ll | ) |
Definition at line 49 of file gencp_defines.h.
#define CAPABILITY_ACCESS_PRIVILEGE_AVAILABLE 0x0000000000000002ull |
Definition at line 293 of file gencp_defines.h.
#define CAPABILITY_ENDIANESS_REGISTER_SUPPORTED 0x0000000000000400ull |
Definition at line 299 of file gencp_defines.h.
#define CAPABILITY_FAMILY_REGISTER_AVAILABLE 0x0000000000000100ull |
Definition at line 297 of file gencp_defines.h.
#define CAPABILITY_MESSAGE_CHANNEL_SUPPORTED 0x0000000000000004ull |
Definition at line 294 of file gencp_defines.h.
#define CAPABILITY_MULTIEVENT_SUPPORTED 0x0000000000001000ull |
Definition at line 301 of file gencp_defines.h.
#define CAPABILITY_SBRM_SUPPORTED 0x0000000000000200ull |
Definition at line 298 of file gencp_defines.h.
#define CAPABILITY_STRING_ENCODING 0x00000000000000F0ull |
Definition at line 296 of file gencp_defines.h.
#define CAPABILITY_TIMESTAMP_SUPPORTED 0x0000000000000008ull |
Definition at line 295 of file gencp_defines.h.
#define CAPABILITY_USER_NAME_AVAILABLE 0x0000000000000001ull |
Definition at line 292 of file gencp_defines.h.
#define CAPABILITY_WRITTEN_LENGTH_SUPPORTED 0x0000000000000800ull |
Definition at line 300 of file gencp_defines.h.
#define CL_SERIAL_BITRATE_AVAILABLE 4 |
Definition at line 311 of file gencp_defines.h.
#define CL_SERIAL_BITRATE_SIZE 4 |
Definition at line 313 of file gencp_defines.h.
#define CL_SERIAL_BITRATEX_AVAILABLE_OFFSET ( SBRM_OFFSET ) |
Definition at line 310 of file gencp_defines.h.
#define CL_SERIAL_BITRATEX_OFFSET ( CL_SERIAL_BITRATEX_AVAILABLE_OFFSET + CL_SERIAL_BITRATE_AVAILABLE ) |
Definition at line 312 of file gencp_defines.h.
#define CONFIGURATION_HEARTBEAT_ENABLE 0x0000000000000001ull |
Definition at line 303 of file gencp_defines.h.
#define CONFIGURATION_MULTIEVENT_ENABLE 0x0000000000000002ull |
Definition at line 304 of file gencp_defines.h.
#define DEVICE_CAPABILITY_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0184) |
Definition at line 256 of file gencp_defines.h.
#define DEVICE_CAPABILITY_SIZE 8 |
Definition at line 278 of file gencp_defines.h.
#define DEVICE_CONFIGURATION_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01A0) |
Definition at line 260 of file gencp_defines.h.
#define DEVICE_CONFIGURATION_SIZE 8 |
Definition at line 282 of file gencp_defines.h.
#define DEVICE_FAMILY_OFFSET 0x0084 |
Definition at line 251 of file gencp_defines.h.
#define DEVICE_FAMILY_SIZE 64 |
Definition at line 273 of file gencp_defines.h.
#define DEVICE_MODEL_OFFSET 0x0044 |
Definition at line 250 of file gencp_defines.h.
#define DEVICE_MODEL_SIZE 64 |
Definition at line 272 of file gencp_defines.h.
#define DEVICE_VERSION_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0084) |
Definition at line 252 of file gencp_defines.h.
#define DEVICE_VERSION_SIZE 64 |
Definition at line 274 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_EVENT_ACK 0x0C01 |
Definition at line 172 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_EVENT_REQ 0x0C00 |
Definition at line 171 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_LENGTH sizeof(UINT16) |
Definition at line 147 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_OFFSET ( GENCP_CCD_FLAGS_OFFSET + GENCP_CCD_FLAG_LENGTH) |
Definition at line 153 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_PENDING_ACK 0x0805 |
Definition at line 170 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_READMEM_ACK 0x0801 |
Definition at line 167 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_READMEM_REQ 0x0800 |
Definition at line 166 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_WRITEMEM_ACK 0x0803 |
Definition at line 169 of file gencp_defines.h.
#define GENCP_CCD_COMMAND_WRITEMEM_REQ 0x0802 |
Definition at line 168 of file gencp_defines.h.
#define GENCP_CCD_FLAG_ACK_REQUEST (1<<14) |
Definition at line 162 of file gencp_defines.h.
#define GENCP_CCD_FLAG_LENGTH sizeof(UINT16) |
Definition at line 146 of file gencp_defines.h.
#define GENCP_CCD_FLAG_RESEND (1<<15) |
Definition at line 163 of file gencp_defines.h.
#define GENCP_CCD_FLAGS_OFFSET 0 |
Definition at line 152 of file gencp_defines.h.
#define GENCP_CCD_LENGTH_LENGTH sizeof(UINT16) |
Definition at line 148 of file gencp_defines.h.
#define GENCP_CCD_LENGTH_OFFSET ( GENCP_CCD_COMMAND_OFFSET + GENCP_CCD_COMMAND_LENGTH) |
Definition at line 154 of file gencp_defines.h.
#define GENCP_CCD_REQ_ID_LENGTH sizeof(UINT16) |
Definition at line 149 of file gencp_defines.h.
#define GENCP_CCD_REQID_OFFSET ( GENCP_CCD_LENGTH_OFFSET + GENCP_CCD_LENGTH_LENGTH) |
Definition at line 155 of file gencp_defines.h.
#define GENCP_CCD_SIZE ( GENCP_CCD_REQID_OFFSET + GENCP_CCD_REQ_ID_LENGTH) |
Definition at line 156 of file gencp_defines.h.
#define GENCP_CCD_STATUS_ACCESS_DENIED 0x8006 |
Definition at line 181 of file gencp_defines.h.
#define GENCP_CCD_STATUS_BAD_ALIGNMENT 0x8005 |
Definition at line 180 of file gencp_defines.h.
#define GENCP_CCD_STATUS_BUSY 0x8007 |
Definition at line 182 of file gencp_defines.h.
#define GENCP_CCD_STATUS_GENERIC_ERROR 0x8FFF |
Definition at line 189 of file gencp_defines.h.
#define GENCP_CCD_STATUS_INVALID_ADDRESS 0x8003 |
Definition at line 178 of file gencp_defines.h.
#define GENCP_CCD_STATUS_INVALID_HEADER 0x800E |
Definition at line 187 of file gencp_defines.h.
#define GENCP_CCD_STATUS_INVALID_PARAMETER 0x8002 |
Definition at line 177 of file gencp_defines.h.
#define GENCP_CCD_STATUS_INVALID_PROTOCOL 0x800A |
Definition at line 185 of file gencp_defines.h.
#define GENCP_CCD_STATUS_LENGTH sizeof(UINT16) |
Definition at line 145 of file gencp_defines.h.
#define GENCP_CCD_STATUS_LOCAL_PROBLEM 0x8008 |
Definition at line 183 of file gencp_defines.h.
#define GENCP_CCD_STATUS_MISMATCH 0x8009 |
Definition at line 184 of file gencp_defines.h.
#define GENCP_CCD_STATUS_MSG_TIMEOUT 0x800B |
Definition at line 186 of file gencp_defines.h.
#define GENCP_CCD_STATUS_NOT_IMPLEMENTED 0x8001 |
Definition at line 176 of file gencp_defines.h.
#define GENCP_CCD_STATUS_OFFSET 0 |
Definition at line 151 of file gencp_defines.h.
#define GENCP_CCD_STATUS_SUCCESS 0x0000 |
Definition at line 175 of file gencp_defines.h.
#define GENCP_CCD_STATUS_WRITE_PROTECT 0x8004 |
Definition at line 179 of file gencp_defines.h.
#define GENCP_CCD_STATUS_WRONG_CONFIG 0x800F |
Definition at line 188 of file gencp_defines.h.
#define GENCP_LIB_STATUS_BAD_DATA_PACKET_SIZE -20501 |
Definition at line 193 of file gencp_defines.h.
#define GENCP_LIB_STATUS_BAD_PACKET_SIZE -20500 |
Definition at line 192 of file gencp_defines.h.
#define GENCP_LIB_STATUS_BAD_REGISTER_SIZE -20507 |
Definition at line 199 of file gencp_defines.h.
#define GENCP_LIB_STATUS_INCOMPATIBLE_PROTOCOL -20506 |
Definition at line 198 of file gencp_defines.h.
#define GENCP_LIB_STATUS_INSUFFICENT_RESOURCE -20505 |
Definition at line 197 of file gencp_defines.h.
#define GENCP_LIB_STATUS_INVALID_ANSWER -20503 |
Definition at line 195 of file gencp_defines.h.
#define GENCP_LIB_STATUS_INVALID_PACKET -20502 |
Definition at line 194 of file gencp_defines.h.
#define GENCP_LIB_STATUS_INVALID_REQ_ID -20504 |
Definition at line 196 of file gencp_defines.h.
#define GENCP_LIB_STATUS_NO_TRANSACTION_PENDING -20508 |
Definition at line 200 of file gencp_defines.h.
#define GENCP_LIB_STATUS_SUCCESS 0 |
Definition at line 191 of file gencp_defines.h.
#define GENCP_LIB_STATUS_UNZIPED_FAILED -20509 |
Definition at line 201 of file gencp_defines.h.
#define GENCP_MAX_PACKET_SIZE 0xFFFF |
Definition at line 132 of file gencp_defines.h.
#define GENCP_MAX_SCD_SIZE ( GENCP_MAX_PACKET_SIZE - GENCP_CCD_SIZE) |
Definition at line 205 of file gencp_defines.h.
#define GENCP_POSTFIX_SIZE 0 |
Definition at line 131 of file gencp_defines.h.
#define GENCP_PREFIX_SIZE 0 |
Definition at line 130 of file gencp_defines.h.
#define GENCP_SCD_ADDR_OFFSET ( GENCP_CCD_SIZE ) |
Definition at line 210 of file gencp_defines.h.
#define GENCP_SCD_ADDR_SIZE ( sizeof(CLINT64) ) |
Definition at line 206 of file gencp_defines.h.
#define GENCP_SCD_EVENT_DATA_OFFSET ( GENCP_SCD_EVENT_TIMESTAMP_OFFSET + GENCP_SCD_TIMESTAMP_SIZE) |
Definition at line 238 of file gencp_defines.h.
#define GENCP_SCD_EVENT_EVENTID_OFFSET ( GENCP_CCD_SIZE + GENCP_SCD_EVENT_RESERVED_SIZE) |
Definition at line 236 of file gencp_defines.h.
#define GENCP_SCD_EVENT_RESERVED_SIZE ( sizeof(UINT16) ) |
Definition at line 233 of file gencp_defines.h.
#define GENCP_SCD_EVENT_TIMESTAMP_OFFSET ( GENCP_SCD_EVENT_EVENTID_OFFSET + GENCP_SCD_EVENTID_SIZE) |
Definition at line 237 of file gencp_defines.h.
#define GENCP_SCD_EVENTID_SIZE ( sizeof(UINT16) ) |
Definition at line 234 of file gencp_defines.h.
#define GENCP_SCD_PENDING_ACK_SIZE ( GENCP_SCD_PENDING_TIMEOUT_OFFSET + GENCP_SCD_PENDING_TIMEOUT_SIZE ) |
Definition at line 230 of file gencp_defines.h.
#define GENCP_SCD_PENDING_RESERVE_OFFSET ( GENCP_CCD_SIZE ) |
Definition at line 228 of file gencp_defines.h.
#define GENCP_SCD_PENDING_RESERVE_SIZE ( sizeof(UINT16) ) |
Definition at line 226 of file gencp_defines.h.
#define GENCP_SCD_PENDING_TIMEOUT_OFFSET ( GENCP_CCD_SIZE + GENCP_SCD_PENDING_RESERVE_SIZE ) |
Definition at line 229 of file gencp_defines.h.
#define GENCP_SCD_PENDING_TIMEOUT_SIZE ( sizeof(UINT16) ) |
Definition at line 227 of file gencp_defines.h.
#define GENCP_SCD_READMEM_DATA_OFFSET ( GENCP_CCD_SIZE ) |
Definition at line 211 of file gencp_defines.h.
#define GENCP_SCD_READMEM_LENGTH_OFFSET ( GENCP_SCD_READMEM_RESERVE_OFFSET + GENCP_SCD_READMEM_RESERVE_SIZE ) |
Definition at line 213 of file gencp_defines.h.
#define GENCP_SCD_READMEM_LENGTH_SIZE ( sizeof(UINT16) ) |
Definition at line 208 of file gencp_defines.h.
#define GENCP_SCD_READMEM_MAX_DATA_SIZE ( GENCP_MAX_SCD_SIZE ) |
Definition at line 222 of file gencp_defines.h.
#define GENCP_SCD_READMEM_REQ_SIZE ( GENCP_SCD_READMEM_LENGTH_OFFSET + GENCP_SCD_READMEM_LENGTH_SIZE ) |
Definition at line 220 of file gencp_defines.h.
#define GENCP_SCD_READMEM_RESERVE_OFFSET ( GENCP_SCD_ADDR_OFFSET + GENCP_SCD_ADDR_SIZE ) |
Definition at line 212 of file gencp_defines.h.
#define GENCP_SCD_READMEM_RESERVE_SIZE ( sizeof(UINT16) ) |
Definition at line 207 of file gencp_defines.h.
#define GENCP_SCD_TIMESTAMP_SIZE ( sizeof(UINT64) ) |
Definition at line 235 of file gencp_defines.h.
#define GENCP_SCD_WRITEMEM_ACK_RESERVE_SIZE ( sizeof(UINT16) ) |
Definition at line 217 of file gencp_defines.h.
#define GENCP_SCD_WRITEMEM_ACK_SIZE ( GENCP_CCD_SIZE + GENCP_SCD_WRITEMEM_ACK_RESERVE_SIZE + GENCP_SCD_WRITEMEM_ACK_WRITTEN_SIZE ) |
Definition at line 221 of file gencp_defines.h.
#define GENCP_SCD_WRITEMEM_ACK_WRITTEN_SIZE ( sizeof(UINT16) ) |
Definition at line 218 of file gencp_defines.h.
#define GENCP_SCD_WRITEMEM_DATA_OFFSET ( GENCP_SCD_ADDR_OFFSET + GENCP_SCD_ADDR_SIZE ) |
Definition at line 215 of file gencp_defines.h.
#define GENCP_SCD_WRITEMEM_MAX_DATA_SIZE ( GENCP_MAX_SCD_SIZE - GENCP_SCD_ADDR_SIZE ) |
Definition at line 223 of file gencp_defines.h.
#define GENCP_VERSION_ALPHA 0x00000005 |
Definition at line 135 of file gencp_defines.h.
#define GENCP_VERSION_CURRENT GENCP_VERSION_RELEASE_1_1 |
Definition at line 139 of file gencp_defines.h.
#define GENCP_VERSION_RELEASE_1 0x00010000 |
Definition at line 136 of file gencp_defines.h.
#define GENCP_VERSION_RELEASE_1_1 0x00010001 |
Definition at line 137 of file gencp_defines.h.
#define GET_BYTE | ( | p, | |
o | |||
) | ( *( char * )( ( (char *)(p) ) + o ) ) |
Macro to get a BYTE from the datagram.
Definition at line 89 of file gencp_defines.h.
#define GET_DWORD | ( | p, | |
o | |||
) | (bswap_32( *( CLUINT32 * )( ( (char *)(p) ) + o ) )) |
Macro to get a DWORD from the datagram.
Definition at line 73 of file gencp_defines.h.
#define GET_PTR | ( | p, | |
o | |||
) | ( ( char * )( ( (char *)(p) ) + o ) ) |
Macro to get the address of a field in the datagram.
Definition at line 93 of file gencp_defines.h.
#define GET_QWORD | ( | p, | |
o | |||
) | (bswap_64( *(( CLINT64* )( ( (char *)(p) ) + o ) ) ) ) |
Macro to get a QWORD from the datagram.
Definition at line 65 of file gencp_defines.h.
#define GET_WORD | ( | p, | |
o | |||
) | (bswap_16( *( UINT16 * )( ( (char *)(p) ) + o ) )) |
Macro to get a WORD from the datagram.
Definition at line 81 of file gencp_defines.h.
#define HEARTBEAT_TIMEOUT_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01A8) |
Definition at line 261 of file gencp_defines.h.
#define HEARTBEAT_TIMEOUT_SIZE 4 |
Definition at line 283 of file gencp_defines.h.
#define IMPLEMENTATION_ENDIANESS_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01CC) |
Definition at line 268 of file gencp_defines.h.
#define IMPLEMENTATION_ENDIANESS_SIZE 4 |
Definition at line 290 of file gencp_defines.h.
#define MANIFEST_ENTRY_COUNT_OFFSET MANIFEST_OFFSET |
Definition at line 326 of file gencp_defines.h.
#define MANIFEST_ENTRY_COUNT_SIZE 8 |
Definition at line 327 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_ADDR_INDEX 8 |
Definition at line 322 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_GEN_VERSION_MAJOR_INDEX 4 |
Definition at line 319 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_GEN_VERSION_MINOR_INDEX 5 |
Definition at line 320 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_INFO_INDEX 0 |
Definition at line 315 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_SIZE_INDEX 16 |
Definition at line 323 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_TYPE_INDEX 6 |
Definition at line 321 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_VERSION_MAJOR_INDEX 0 |
Definition at line 316 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_VERSION_MINOR_INDEX 1 |
Definition at line 317 of file gencp_defines.h.
#define MANIFEST_ENTRY_FILE_VERSION_SUBMINOR_INDEX 2 |
Definition at line 318 of file gencp_defines.h.
#define MANIFEST_ENTRY_MAX_SIZE_SIZE 64 |
Definition at line 329 of file gencp_defines.h.
#define MANIFEST_ENTRY_RESERVED_INDEX 24 |
Definition at line 324 of file gencp_defines.h.
#define MANIFEST_ENTRY_SIZE 24 |
Definition at line 328 of file gencp_defines.h.
#define MANIFEST_ENTRYX_FILE_ADDR_OFFSET | ( | X | ) | ( MANIFEST_ENTRYX_OFFSET(X) + MANIFEST_ENTRY_FILE_ADDR_INDEX ) |
Definition at line 332 of file gencp_defines.h.
#define MANIFEST_ENTRYX_FILE_SIZE_OFFSET | ( | X | ) | ( MANIFEST_ENTRYX_OFFSET(X) + MANIFEST_ENTRY_FILE_SIZE_INDEX ) |
Definition at line 333 of file gencp_defines.h.
#define MANIFEST_ENTRYX_INFO_OFFSET | ( | X | ) | ( MANIFEST_ENTRYX_OFFSET(X) + MANIFEST_ENTRY_FILE_INFO_INDEX ) |
Definition at line 331 of file gencp_defines.h.
#define MANIFEST_ENTRYX_OFFSET | ( | X | ) | ( MANIFEST_ENTRY_COUNT_OFFSET + MANIFEST_ENTRY_COUNT_SIZE + ( X * MANIFEST_ENTRY_MAX_SIZE_SIZE ) ) |
Definition at line 330 of file gencp_defines.h.
#define MANIFEST_ENTRYX_RESERVED_OFFSET | ( | X | ) | ( MANIFEST_ENTRYX_OFFSET(X) + MANIFEST_ENTRY_RESERVED_INDEX ) |
Definition at line 334 of file gencp_defines.h.
#define MANIFEST_TABLE_ADDR_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0190) |
Definition at line 258 of file gencp_defines.h.
#define MANIFEST_TABLE_ADDR_SIZE 8 |
Definition at line 280 of file gencp_defines.h.
#define MANUFACTURER_INFO_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x00C4) |
Definition at line 253 of file gencp_defines.h.
#define MANUFACTURER_INFO_SIZE 64 |
Definition at line 275 of file gencp_defines.h.
#define MANUFACTURER_NAME_OFFSET 0x0004 |
Definition at line 249 of file gencp_defines.h.
#define MANUFACTURER_NAME_SIZE 64 |
Definition at line 271 of file gencp_defines.h.
#define MAX_DEVICE_RESPONSE_TIME_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x018C) |
Definition at line 257 of file gencp_defines.h.
#define MAX_DEVICE_RESPONSE_TIME_SIZE 4 |
Definition at line 279 of file gencp_defines.h.
#define MESSAGE_CHANNEL_ID_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01AC) |
Definition at line 262 of file gencp_defines.h.
#define MESSAGE_CHANNEL_ID_SIZE 4 |
Definition at line 284 of file gencp_defines.h.
#define PROTOCOL_ENDIANESS_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01C8) |
Definition at line 267 of file gencp_defines.h.
#define PROTOCOL_ENDIANESS_SIZE 4 |
Definition at line 289 of file gencp_defines.h.
#define PROTOCOL_VERSION_OFFSET 0x0000 |
Definition at line 248 of file gencp_defines.h.
#define PROTOCOL_VERSION_SIZE 4 |
Definition at line 270 of file gencp_defines.h.
#define SBRM_ADDR_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0198) |
Definition at line 259 of file gencp_defines.h.
#define SBRM_ADDR_SIZE 8 |
Definition at line 281 of file gencp_defines.h.
#define SERIAL_NUMBER_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0104) |
Definition at line 254 of file gencp_defines.h.
#define SERIAL_NUMBER_SIZE 64 |
Definition at line 276 of file gencp_defines.h.
#define SET_BYTE | ( | p, | |
o, | |||
v | |||
) | (*( char * )( ( (char *)(p) ) + o ) = (v)) |
Macro to set a BYTE in the datagram.
Definition at line 85 of file gencp_defines.h.
#define SET_DWORD | ( | p, | |
o, | |||
v | |||
) | (*( CLUINT32 * )( ( (char *)(p) ) + o ) = bswap_32(v)) |
Macro to set a DWORD in the datagram.
Definition at line 69 of file gencp_defines.h.
#define SET_QWORD | ( | p, | |
o, | |||
v | |||
) | (*( CLINT64* )( ( (char *)(p) ) + o ) = bswap_64(v)) |
Macro to set a QWORD in the datagram.
Definition at line 61 of file gencp_defines.h.
#define SET_WORD | ( | p, | |
o, | |||
v | |||
) | (*( UINT16 * )( ( (char *)(p) ) + o ) = bswap_16(v)) |
Macro to set a WORD in the datagram.
Definition at line 77 of file gencp_defines.h.
#define TIMESTAMP_INCR_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01BC) |
Definition at line 265 of file gencp_defines.h.
#define TIMESTAMP_INCR_SIZE 8 |
Definition at line 287 of file gencp_defines.h.
#define TIMESTAMP_LATCH_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01B8) |
Definition at line 264 of file gencp_defines.h.
#define TIMESTAMP_LATCH_SIZE 4 |
Definition at line 286 of file gencp_defines.h.
#define TIMESTAMP_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x01B0) |
Definition at line 263 of file gencp_defines.h.
#define TIMESTAMP_SIZE 8 |
Definition at line 285 of file gencp_defines.h.
#define USER_DEFINED_NAME_OFFSET (_GENCP_COMPATIBILITY_OFFSET + 0x0144) |
Definition at line 255 of file gencp_defines.h.
#define USER_DEFINED_NAME_SIZE 64 |
Definition at line 277 of file gencp_defines.h.
typedef UINT16 GENCP_STATUS |
Definition at line 142 of file gencp_defines.h.