Lines Matching refs:TAG_HDR_SIZE
78 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) {
82 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra);
83 curTag = curTag + TAG_HDR_SIZE + tagLen;
133 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) {
138 memcpy(tag, curTag, tagLen + TAG_HDR_SIZE);
141 curTag = curTag + TAG_HDR_SIZE + tagLen;
429 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
430 cursor += sizeof(pid) + TAG_HDR_SIZE;
431 plen += sizeof(pid) + TAG_HDR_SIZE;
441 memcpy(cursor, &err, elen + TAG_HDR_SIZE);
442 cursor += elen + TAG_HDR_SIZE;
443 plen += elen + TAG_HDR_SIZE;
449 ntohs(conn->cookie.length) + TAG_HDR_SIZE);
450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
452 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
457 ntohs(conn->relayId.length) + TAG_HDR_SIZE);
458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
459 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;
460 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE;