Skip to main content
Header: gpr/api/gpr_api.h

Structures

gpr_packet_pool_info_v2_t

Members
gpr_heap_index_t
uint8_t
uint16_t
uint32_t
uint32_t

gpr_cmd_gpr_packet_pool_info_t

Contains the packet pool information for __gpr_cmd_get_gpr_packet_info(). Members
uint32_t
Minimum size (in bytes) of a GPR packet.
uint32_t
Number of packets of the minimum size allocated at initialization.
uint32_t
Maximum size (in bytes) of a GPR packet.
uint32_t
Number of packets of the maximum size allocated at initialization.

gpr_cmd_alloc_ext_t

Contains the allocated packet information for __gpr_cmd_alloc_ext(). Members
uint8_t
Domain ID of the sender service.
uint32_t
Registered unique ID of the sender service.
uint8_t
Domain ID of the receiver service.
uint32_t
Registered unique ID of the receiver service.
uint8_t
Reserved for use by client.
uint32_t
Value attached by the sender to determine when command messages are processed by the receiver after they receive response messages.
uint32_t
Defines both the action and the payload structure to the receiver.
uint32_t
Actual number of bytes required for the payload.
gpr_packet_t **
Double pointer to the formatted packet returned by the function.

gpr_cmd_alloc_ext_v2_t

Contains the allocated packet information for __gpr_cmd_alloc_ext_v2(). Members
uint8_t
Domain ID of the sender service.
uint32_t
Registered unique ID of the sender service.
uint8_t
Domain ID of the receiver service.
uint32_t
Registered unique ID of the receiver service.
uint8_t
Reserved for use by client.
uint32_t
Value attached by the sender to determine when command messages are processed by the receiver after they receive response messages.
gpr_heap_index_t
heap index of the packet pool.
uint32_t
Defines both the action and the payload structure to the receiver.
uint32_t
Actual number of bytes required for the payload.
gpr_packet_t **
Double pointer to the formatted packet returned by the function.

gpr_cmd_alloc_send_t

Contains the allocated packet information for __gpr_cmd_alloc_send(). Members
uint8_t
Domain ID of the sender service.
uint32_t
Registered unique ID of the sender service.
uint8_t
Domain ID of the receiver service.
uint32_t
Registered unique ID of the receiver service.
uint8_t
Reserved for use by the client.
uint32_t
Value attached by the sender to determine when command messages have been processed by the receiver after having received response messages.
uint32_t
Operation code defines both the action and the payload structure to the receiver.
uint32_t
Actual number of bytes needed for the payload.
void *
Pointer to the payload to send.

Type Definitions

gpr_heap_index_t

gpr_callback_fn_t

Prototype of a packet callback function.

gpr_packet_pool_info_v2_t

gpr_cmd_gpr_packet_pool_info_t

gpr_cmd_alloc_ext_v2_t

Macros

GPR_HEAP_INDEX_DEFAULT

GPR_HEAP_INDEX_1