Searched refs:MB_TCP_GET_FIELD (Results 1 – 3 of 3) sorted by relevance
92 #define MB_TCP_GET_FIELD(buffer, field) ((USHORT)((buffer[field] << 8U) | buffer[field + 1])) macro
294 xLength = (int)MB_TCP_GET_FIELD(pxClientInfo->pucTCPBuf, MB_TCP_LEN); in xMBTCPPortRxPoll()304 … pxClientInfo->usTidCnt = MB_TCP_GET_FIELD(pxClientInfo->pucTCPBuf, MB_TCP_TID); in xMBTCPPortRxPoll()593 USHORT usSentTid = MB_TCP_GET_FIELD(pucSentBuffer, MB_TCP_TID); in vMBTCPPortServerTask()
345 xLength = (int)MB_TCP_GET_FIELD(pxInfo->pucRcvBuf, MB_TCP_LEN); in vMBTCPPortMasterReadPacket()358 usTidRcv = MB_TCP_GET_FIELD(pxInfo->pucRcvBuf, MB_TCP_TID); in vMBTCPPortMasterReadPacket()