> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPR Packet

> This file contains GPR packet definitions.

**Header:** `gpr/api/gpr_packet.h`

## Structures

### `gpr_packet_t`

Core header structure necessary to route a packet from a source to a destination.

**Members**

<ParamField path="header" type="uint32_t">
  Contains the following subfield information for the header field.
</ParamField>

<ParamField path="dst_domain_id" type="uint8_t">
  Domain ID of the destination where the packet is to be delivered.
</ParamField>

<ParamField path="src_domain_id" type="uint8_t">
  Domain ID of the source from where the packet came.
</ParamField>

<ParamField path="client_data" type="uint8_t">
  Used for client-specific needs.
</ParamField>

<ParamField path="reserved" type="uint8_t">
  Reserved field.
</ParamField>

<ParamField path="src_port" type="uint32_t">
  Unique ID of the service from where the packet came.
</ParamField>

<ParamField path="dst_port" type="uint32_t">
  Unique ID of the service where the packet is to be delivered.
</ParamField>

<ParamField path="token" type="uint32_t">
  Client transaction ID provided by the sender.
</ParamField>

<ParamField path="opcode" type="uint32_t">
  Defines both the action and the payload structure.
</ParamField>

## Type Definitions

### `gpr_packet_t`

```cpp theme={null}
typedef struct gpr_packet_t gpr_packet_t
```
