Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

dquery Struct Reference


Detailed Description

The dynamic query.


Data Fields

guint32 qid
 Unique query ID, to detect ghosts.

guint32 node_id
 ID of the node that originated the query.

guint32 flags
 Operational flags.

gnet_search_t sh
 Search handle, if node ID = NODE_ID_LOCAL.

pmsg_tmb
 The search messsage "template".

query_hashvec_tqhv
 Query hash vector for QRP filtering.

GHashTable * queried
 Contains node IDs that we queried so far.

guint8 ttl
 Initial query TTL.

guint32 horizon
 Theoretical horizon reached thus far.

guint32 up_sent
 # of UPs to which we really sent our query

guint32 pending
 Pending query messages not ACK'ed yet by mq.

guint32 max_results
 Max results we're targetting for.

guint32 fin_results
 # of results terminating leaf-guided query

guint32 oob_results
 Amount of unclaimed OOB results reported.

guint32 results
 Results we got so far for the query.

guint32 linger_results
 Results we got whilst lingering.

guint32 new_results
 New we got since last query status request.

guint32 kept_results
 Results they say they kept after filtering.

guint32 result_timeout
 The current timeout for getting results.

gpointer expire_ev
 Callout queue global expiration event.

gpointer results_ev
 Callout queue results expiration event.

gpointer alive
 Alive ping stats for computing timeouts.

time_t start
 Time at which it started.

time_t stop
 Time at which it was terminated.

next_upnv
 Previous "next UP vector".

gint nvcount
 Number of items allocated for `nv'.

gint nvfound
 Valid entries in `nv'.

pmsg_tby_ttl [DQ_MAX_TTL]
 Copied mesages, one for each TTL.


Field Documentation

gpointer dquery::alive
 

Alive ping stats for computing timeouts.

pmsg_t* dquery::by_ttl[DQ_MAX_TTL]
 

Copied mesages, one for each TTL.

gpointer dquery::expire_ev
 

Callout queue global expiration event.

guint32 dquery::fin_results
 

# of results terminating leaf-guided query

guint32 dquery::flags
 

Operational flags.

guint32 dquery::horizon
 

Theoretical horizon reached thus far.

guint32 dquery::kept_results
 

Results they say they kept after filtering.

guint32 dquery::linger_results
 

Results we got whilst lingering.

guint32 dquery::max_results
 

Max results we're targetting for.

pmsg_t* dquery::mb
 

The search messsage "template".

guint32 dquery::new_results
 

New we got since last query status request.

guint32 dquery::node_id
 

ID of the node that originated the query.

struct next_up* dquery::nv
 

Previous "next UP vector".

gint dquery::nvcount
 

Number of items allocated for `nv'.

gint dquery::nvfound
 

Valid entries in `nv'.

guint32 dquery::oob_results
 

Amount of unclaimed OOB results reported.

guint32 dquery::pending
 

Pending query messages not ACK'ed yet by mq.

query_hashvec_t* dquery::qhv
 

Query hash vector for QRP filtering.

guint32 dquery::qid
 

Unique query ID, to detect ghosts.

GHashTable* dquery::queried
 

Contains node IDs that we queried so far.

guint32 dquery::result_timeout
 

The current timeout for getting results.

guint32 dquery::results
 

Results we got so far for the query.

gpointer dquery::results_ev
 

Callout queue results expiration event.

gnet_search_t dquery::sh
 

Search handle, if node ID = NODE_ID_LOCAL.

time_t dquery::start
 

Time at which it started.

time_t dquery::stop
 

Time at which it was terminated.

guint8 dquery::ttl
 

Initial query TTL.

guint32 dquery::up_sent
 

# of UPs to which we really sent our query


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:11 2006 for Gtk-Gnutella by doxygen 1.3.6