Home | History | Annotate | Download | only in src

Lines Matching full:sinfo

291    phNfc_sData_t  sInfo;
297 sInfo.buffer = psRawPacket->buffer + PHFRINFC_LLCP_PACKET_HEADER_SIZE;
298 sInfo.length = psRawPacket->length - PHFRINFC_LLCP_PACKET_HEADER_SIZE;
301 if (sInfo.length == 0)
307 while (sInfo.length != 0)
310 if (sInfo.length < sizeof(sInfo.length))
315 length = (sInfo.buffer[0] << 8) | sInfo.buffer[1];
317 sInfo.buffer += 2; /*Size of length field is 2*/
318 sInfo.length -= 2; /*Size of length field is 2*/
320 if (length > sInfo.length)
325 sInfo.buffer += length;
326 sInfo.length -= length;
330 sInfo.buffer = psRawPacket->buffer + PHFRINFC_LLCP_PACKET_HEADER_SIZE;
331 sInfo.length = psRawPacket->length - PHFRINFC_LLCP_PACKET_HEADER_SIZE;
334 while (sInfo.length != 0)
337 length = (sInfo.buffer[0] << 8) | sInfo.buffer[1];
339 sInfo.buffer += 2; /* Size of length field is 2 */
340 sInfo.length -= 2; /*Size of length field is 2*/
342 sCurrentInfo.buffer=sInfo.buffer;
351 sInfo.buffer += length;
352 sInfo.length -= length;