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

dquery Struct Reference


Detailed Description

The dynamic query.


Data Fields

dquery_magic_t magic
node_id_t node_id
 ID of the node that originated the query.
guint32 qid
 Unique query ID, to detect ghosts.
guint32 flags
 Operational flags.
gnet_search_t sh
 Search handle, if node ID = NODE_ID_SELF.
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.
const gchar * lmuid
 For proxied query: the original leaf MUID.
guint16 query_flags
 Flags from the marked query speed field.
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 last_status
 How many UP queried last time we got status.
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.
guint32 stat_timeouts
 The amount of status request timeouts we had.
cevent_texpire_ev
 Callout queue global expiration event.
cevent_tresults_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 nv_count
 Number of items allocated for `nv'.
gint nv_found
 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.

cevent_t* 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::last_status
 

How many UP queried last time we got status.

guint32 dquery::linger_results
 

Results we got whilst lingering.

const gchar* dquery::lmuid
 

For proxied query: the original leaf MUID.

dquery_magic_t dquery::magic
 

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.

node_id_t dquery::node_id
 

ID of the node that originated the query.

struct next_up* dquery::nv
 

Previous "next UP vector".

gint dquery::nv_count
 

Number of items allocated for `nv'.

gint dquery::nv_found
 

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.

guint16 dquery::query_flags
 

Flags from the marked query speed field.

guint32 dquery::result_timeout
 

The current timeout for getting results.

guint32 dquery::results
 

Results we got so far for the query.

cevent_t* dquery::results_ev
 

Callout queue results expiration event.

gnet_search_t dquery::sh
 

Search handle, if node ID = NODE_ID_SELF.

time_t dquery::start
 

Time at which it started.

guint32 dquery::stat_timeouts
 

The amount of status request timeouts we had.

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 Sat Jun 30 17:53:33 2007 for gtk-gnutella by  doxygen 1.3.9.1