Searched refs:curTag (Results 1 – 2 of 2) sorted by relevance
48 unsigned char *curTag; in parsePacket() local67 curTag = packet->payload; in parsePacket()68 while(curTag - packet->payload < len) { in parsePacket()70 tagType = (curTag[0] << 8) + curTag[1]; in parsePacket()71 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()75 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()79 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()80 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()
265 unsigned char *curTag; in parsePacket() local286 curTag = packet->payload; in parsePacket()287 while(curTag - packet->payload < len) { in parsePacket()289 tagType = (curTag[0] << 8) + curTag[1]; in parsePacket()290 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()294 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()298 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()299 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()