Lines Matching defs:cursor
399 unsigned char *cursor = packet.payload;
429 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
430 cursor += sizeof(pid) + TAG_HDR_SIZE;
441 memcpy(cursor, &err, elen + TAG_HDR_SIZE);
442 cursor += elen + TAG_HDR_SIZE;
448 CHECK_ROOM(cursor, packet.payload,
450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
456 CHECK_ROOM(cursor, packet.payload,
458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
459 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;