---
title: HccnRpingPayloadHead
description: "保存自定义payload数据头的数据结构。"
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/others/rpingdev/hccnrpingapi_07_0021.html
sourcePath: /source/zh/CANNCommunityEdition/920beta1/others/rpingdev/hccnrpingapi_07_0021.html
indexId: 58e3c2fc2eea415607ccb19ef17363cd6937354c4a3c20d3d3c59e1962dd09a182
---
# HccnRpingPayloadHead

#### 功能

保存自定义payload数据头的数据结构。


#### 定义原型

```
typedef struct HccnRpingPayloadHeadDef {
char srcIp[64];        /* local(client) IP */
char dstIp[64];        /* remote(target) ip */
uint32_t payloadLen;   /* user defined payload length */
uint32_t resvd[3];
HccnRpingTimestamp t1; /* client send timestamp */
HccnRpingTimestamp t2; /* target recv timestamp */
HccnRpingTimestamp t3; /* target send timestamp */
HccnRpingTimestamp t4; /* client recv timestamp */
uint32_t rpingBatchId; /* batch ping task id */
uint8_t reserved[44];
} HccnRpingPayloadHead;
```
