Searched refs:curTag (Results 1 – 1 of 1) sorted by relevance
49 unsigned char *curTag; in parsePacket() local68 curTag = packet->payload; in parsePacket()69 while(curTag - packet->payload < len) { in parsePacket()71 tagType = (((UINT16_t) curTag[0]) << 8) + in parsePacket()72 (UINT16_t) curTag[1]; in parsePacket()73 tagLen = (((UINT16_t) curTag[2]) << 8) + in parsePacket()74 (UINT16_t) curTag[3]; in parsePacket()78 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()82 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()83 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()[all …]