Lines Matching refs:TAG_HDR_SIZE
255 plen = TAG_HDR_SIZE + namelen;
270 CHECK_ROOM(cursor, packet.payload, namelen+TAG_HDR_SIZE);
275 cursor += namelen + TAG_HDR_SIZE;
284 CHECK_ROOM(cursor, packet.payload, sizeof(pid) + TAG_HDR_SIZE);
285 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
286 cursor += sizeof(pid) + TAG_HDR_SIZE;
287 plen += sizeof(pid) + TAG_HDR_SIZE;
426 plen = TAG_HDR_SIZE + namelen;
443 cursor += namelen + TAG_HDR_SIZE;
452 CHECK_ROOM(cursor, packet.payload, sizeof(pid)+TAG_HDR_SIZE);
453 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
454 cursor += sizeof(pid) + TAG_HDR_SIZE;
455 plen += sizeof(pid) + TAG_HDR_SIZE;
461 ntohs(conn->cookie.length) + TAG_HDR_SIZE);
462 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
463 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
464 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
469 ntohs(conn->relayId.length) + TAG_HDR_SIZE);
470 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
471 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;
472 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE;