#include <search_common.h>
A single structure is created for each Query Hit packet we receive, but then it can be dispatched for displaying some of its records to the various searches in presence. Each time the structure is dispatched, the `refcount' is incremented, so that we don't free it and its content until it has been "forgotten" that many times.
Data Fields | |
gint | refcount |
Number of "struct search" this belongs to. | |
gchar * | guid |
Servent's GUID (atom). | |
host_addr_t | addr |
guint16 | port |
guint16 | status |
Parsed status bits from trailer. | |
guint16 | speed |
time_t | stamp |
Reception time of the hit. | |
vendor_code | vcode |
Vendor code. | |
gchar * | version |
Version information (atom). | |
gint | country |
Country code -- encoded ISO3166. | |
gnet_host_vec_t * | proxies |
Optional: known push proxies. | |
gchar * | hostname |
Optional: server's hostname (atom). | |
host_addr_t | udp_addr |
IP of delivering node, if hit from UDP. | |
host_addr_t | last_hop |
IP of delivering node. | |
guint32 | num_recs |
GSList * | records |
GSList * | schl |
|
|
|
Country code -- encoded ISO3166.
|
|
Servent's GUID (atom).
|
|
Optional: server's hostname (atom).
|
|
IP of delivering node.
|
|
|
|
|
|
Optional: known push proxies.
|
|
|
|
Number of "struct search" this belongs to.
|
|
|
|
|
|
Reception time of the hit.
|
|
Parsed status bits from trailer.
|
|
IP of delivering node, if hit from UDP.
|
|
Vendor code.
|
|
Version information (atom).
|