Data Fields | |
| guint32 | magic |
| Magic number. | |
| guint32 | flags |
| Operating flags. | |
| guint | position |
| Current position in the queue. | |
| guint | relative_position |
| Relative position in the queue, if 'not alive' uploads are taken into account. | |
| gboolean | quick |
| Slot granted for allowed quick upload. | |
| gboolean | active_queued |
| Whether the current upload is actively queued. | |
| gboolean | has_slot |
| Whether the items is currently uploading. | |
| gboolean | had_slot |
| If an upload had an upload slot it is not allowed to reuse the id for another upload. | |
| guint | eta |
| Expected time in seconds till an upload slot is reached, this is a relative timestamp. | |
| time_t | expire |
| Time when the queue position will be lost. | |
| time_t | retry |
| Time when the first retry-after is expected. | |
| time_t | enter |
| Time upload entered parq. | |
| time_t | updated |
| Time last upload request was sent. | |
| time_t | ban_timeout |
| Time after which we won't kick out the upload out of the queue when retry isn't obeyed. | |
| time_t | disc_timeout |
| Time after which we allow the upload to be disconnected again. | |
| time_t | last_queue_sent |
| When we last sent the QUEUE. | |
| time_t | send_next_queue |
| When will we send the next QUEUE. | |
| guint32 | queue_sent |
| Amount of QUEUE messages we tried to send. | |
| guint32 | queue_refused |
| Amount of QUEUE messages refused remotely. | |
| gboolean | is_alive |
| Whether client is still requesting this file. | |
| gchar * | id |
| PARQ identifier. | |
| gchar * | addr_and_name |
| "IP name", used as key in hash table | |
| gchar * | name |
| NB: points directly into `addr_and_name'. | |
| gchar * | sha1 |
| SHA1 digest for easy reference. | |
| host_addr_t | remote_addr |
| IP address of the socket endpoint. | |
| filesize_t | file_size |
| Needed to recalculate ETA. | |
| filesize_t | chunk_size |
| Requested chunk size. | |
| filesize_t | uploaded_size |
| Bytes previously uploaded. | |
| host_addr_t | addr |
| Contact IP:port, as read from X-Node:. | |
| guint16 | port |
| guint | major |
| guint | minor |
| parq_ul_queue * | queue |
| In which queue this entry is listed. | |
| parq_ul_queued_by_addr * | by_addr |
| gnutella_upload_t * | u |
| Internal reference to upload structure if available. | |
|
|
Whether the current upload is actively queued.
|
|
|
Contact IP:port, as read from X-Node:.
|
|
|
"IP name", used as key in hash table
|
|
|
Time after which we won't kick out the upload out of the queue when retry isn't obeyed.
|
|
|
|
|
|
Requested chunk size.
|
|
|
Time after which we allow the upload to be disconnected again.
|
|
|
Time upload entered parq.
|
|
|
Expected time in seconds till an upload slot is reached, this is a relative timestamp.
|
|
|
Time when the queue position will be lost.
|
|
|
Needed to recalculate ETA.
|
|
|
Operating flags.
|
|
|
If an upload had an upload slot it is not allowed to reuse the id for another upload.
|
|
|
Whether the items is currently uploading.
|
|
|
PARQ identifier.
|
|
|
Whether client is still requesting this file.
|
|
|
When we last sent the QUEUE.
|
|
|
Magic number.
|
|
|
|
|
|
|
|
|
NB: points directly into `addr_and_name'.
|
|
|
|
|
|
Current position in the queue.
|
|
|
In which queue this entry is listed.
|
|
|
Amount of QUEUE messages refused remotely.
|
|
|
Amount of QUEUE messages we tried to send.
|
|
|
Slot granted for allowed quick upload.
|
|
|
Relative position in the queue, if 'not alive' uploads are taken into account.
|
|
|
IP address of the socket endpoint.
|
|
|
Time when the first retry-after is expected.
|
|
|
When will we send the next QUEUE.
|
|
|
SHA1 digest for easy reference.
|
|
|
Internal reference to upload structure if available.
|
|
|
Time last upload request was sent.
|
|
|
Bytes previously uploaded.
|
1.3.6