| 21 | uint16_t HEADER_VERSION = HEADER_PROTOCAL_VERSION; |
| 22 | |
| 23 | typedef struct AMCReqHeader { |
| 24 | uint32_t begin; //包头其起始字段 |
| 25 | uint16_t version; //协议版本 |
| 26 | uint16_t funcid; //请求对应的function ID |
| 27 | uint32_t bodylen; //包体序列化数据长度 |
| 28 | int64_t requestid; //当前请求包ID |
| 29 | uint32_t callertid; //上层JNI调用者所在线程ID |
| 30 | int64_t timestamp; //当前请求时间戳 |
| 31 | |
| 32 | }__attribute__ ((packed)) AMCReqHeader; |
| 33 | |
| 34 | |
| 35 | typedef struct AMCReqHeaderV2: AMCReqHeader{ |
nothing calls this directly
no outgoing calls
no test coverage detected