#include <search.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.
Data Fields | |
gchar * | guid |
Servent's GUID (atom). | |
host_addr_t | addr |
guint16 | port |
guint16 | status |
Parsed status bits from trailer. | |
guint32 | 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. | |
flag_t | flags |
gnet_host_vec_t * | proxies |
Optional: known push proxies. | |
gchar * | hostname |
Optional: server's hostname. | |
host_addr_t | udp_addr |
IP of delivering node, if hit from UDP. | |
host_addr_t | last_hop |
IP of delivering node. | |
GSList * | records |
guint32 | num_recs |
|
|
|
Country code -- encoded ISO3166.
|
|
|
|
Servent's GUID (atom).
|
|
Optional: server's hostname.
|
|
IP of delivering node.
|
|
|
|
|
|
Optional: known push proxies.
|
|
|
|
|
|
Reception time of the hit.
|
|
Parsed status bits from trailer.
|
|
IP of delivering node, if hit from UDP.
|
|
Vendor code.
|
|
Version information (atom).
|