昇腾社区首页
中文
注册

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;