#include <nodes.h>
Data Fields | |
node_magic_t | magic |
Magic value for consistency checks. | |
gnet_node_t | node_handle |
Handle of this node. | |
node_peer_t | peermode |
Operating mode (leaf, ultra, normal). | |
node_peer_t | start_peermode |
Operating mode when handshaking begun. | |
gchar | error_str [256] |
To sprintf() error strings with vars. | |
gnutella_socket * | socket |
Socket of the node. | |
guint8 | proto_major |
Handshaking protocol major number. | |
guint8 | proto_minor |
Handshaking protocol minor number. | |
node_protocol_types_t | protocol_type |
guint8 | qrp_major |
Query routing protocol major number. | |
guint8 | qrp_minor |
Query routing protocol minor number. | |
guint8 | uqrp_major |
UP Query routing protocol major number. | |
guint8 | uqrp_minor |
UP Query routing protocol minor number. | |
gchar * | vendor |
Vendor information (always UTF-8). | |
gint | country |
Country of origin -- encoded ISO3166. | |
vendor_code | vcode |
Vendor code (vcode.u32 == 0 if unknown). | |
gpointer | io_opaque |
Opaque I/O callback information. | |
gnutella_header | header |
Header of the current message. | |
extvec_t | extvec [MAX_EXTVEC] |
GGEP extensions in "fat" messages. | |
gint | extcount |
Amount of extensions held. | |
guint32 | size |
How many bytes we need to read for the current message. | |
gchar * | data |
data of the current message | |
guint32 | pos |
write position in data | |
gnet_node_state_t | status |
See possible values below. | |
guint32 | flags |
See possible values below. | |
guint32 | attrs |
See possible values below. | |
guint8 | hops_flow |
Don't send queries with a >= hop count. | |
guint8 | max_ttl |
Value of their advertised X-Max-TTL. | |
guint16 | degree |
Value of their advertised X-Degree. | |
GHashTable * | qseen |
Queries seen from this leaf node. | |
GHashTable * | qrelayed |
Queries relayed from this node. | |
GHashTable * | qrelayed_old |
Older version of the `qrelayed' table. | |
time_t | qrelayed_created |
When `qrelayed' was created. | |
guint32 | sent |
Number of sent packets. | |
guint32 | received |
Number of received packets. | |
guint32 | tx_dropped |
Number of packets dropped at TX time. | |
guint32 | rx_dropped |
Number of packets dropped at RX time. | |
guint32 | n_bad |
Number of bad packets received. | |
guint16 | n_dups |
Number of dup messages received (bad). | |
guint16 | n_hard_ttl |
Number of hard_ttl exceeded (bad). | |
guint32 | n_weird |
Number of weird messages from that node. | |
guint32 | n_hostile |
Number of messages from hostile IP. | |
guint32 | allocated |
Size of allocated buffer data, 0 for none. | |
gboolean | have_header |
TRUE if we have got a full message header. | |
time_t | last_update |
Last update of the node. | |
time_t | last_tx |
Last time we transmitted to the node. | |
time_t | last_rx |
Last time we received from the node. | |
time_t | connect_date |
When we got connected (after handshake). | |
time_t | tx_flowc_date |
When we entered in TX flow control. | |
node_rxfc_mon * | rxfc |
Optional, time spent in RX flow control. | |
time_t | shutdown_date |
When we entered in shutdown mode. | |
time_t | up_date |
When remote server started (0 if unknown). | |
time_t | leaf_flowc_start |
Time when leaf flow-controlled queries. | |
guint32 | shutdown_delay |
How long we can stay in shutdown mode. | |
const gchar * | remove_msg |
Reason of removing. | |
host_addr_t | addr |
ip of the node | |
guint16 | port |
port of the node | |
gchar * | guid |
GUID of node (atom) for push-proxying. | |
host_addr_t | proxy_addr |
ip of the node for push proxyfication | |
guint16 | proxy_port |
port of the node for push proxyfication | |
mqueue_t * | outq |
TX Output queue. | |
squeue_t * | searchq |
TX Search queue. | |
rxdrv_t * | rx |
RX stack top. | |
gpointer | routing_data |
Opaque info, for gnet message routing. | |
gpointer | sent_query_table |
Opaque info, query table sent to node. | |
gpointer | recv_query_table |
Opaque info, query table recved from node. | |
gpointer | qrt_update |
Opaque info, query routing update handle. | |
gpointer | qrt_receive |
Opaque info, query routing reception. | |
qrt_info_t * | qrt_info |
Info about received query table. | |
gpointer | alive_pings |
Opaque info, for alive ping checks. | |
time_t | last_alive_ping |
Last time we sent an alive ping. | |
guint | alive_period |
Period for sending alive pings (secs). | |
wrap_buf_t | hello |
Spill buffer for GNUTELLA HELLO. | |
guint32 | tcp_rtt |
RTT when exchange takes place over TCP. | |
guint32 | udp_rtt |
RTT when exchange takes place over UDP. | |
gpointer | tsync_ev |
Time sync event. | |
guint32 | id |
Unique internal ID. | |
guint | ping_throttle |
Period for accepting new pings (secs). | |
time_t | ping_accept |
Time after which we accept new pings. | |
time_t | next_ping |
When to send a ping, for "OLD" clients. | |
gchar | ping_guid [GUID_RAW_SIZE] |
The GUID of the last accepted ping. | |
guchar | pong_needed [MAX_CACHE_HOPS+1] |
Pongs needed, by hop value. | |
guchar | pong_missing |
Sum(pong_needed[i]), i = 0..MAX_CACHE_HOPS. | |
host_addr_t | gnet_addr |
When != 0, we know the remote IP/port. | |
guint16 | gnet_port |
(listening port, that is ) | |
guint32 | gnet_files_count |
Used to answer "Crawling" pings. | |
guint32 | gnet_kbytes_count |
Used to answer "Crawling" pings. | |
host_addr_t | gnet_pong_addr |
When != 0, last IP we got in pong. | |
host_addr_t | gnet_qhit_addr |
When != 0, last IP we got in query hit. | |
gchar * | gnet_guid |
GUID of node (atom) seen on the network. | |
guint32 | n_ping_throttle |
Number of pings we throttled. | |
guint32 | n_ping_accepted |
Number of pings we accepted. | |
guint32 | n_ping_special |
Number of special pings we received. | |
guint32 | n_ping_sent |
Number of pings we sent to this node. | |
guint32 | n_pong_received |
Number of pongs we received from this node. | |
guint32 | n_pong_sent |
Number of pongs we sent to this node. | |
gint32 | tx_given |
Bytes fed to the TX stack (from top). | |
gint32 | tx_deflated |
Bytes deflated by the TX stack. | |
gint32 | tx_written |
Bytes written by the TX stack. | |
gint32 | rx_given |
Bytes fed to the RX stack (from bottom). | |
gint32 | rx_inflated |
Bytes inflated by the RX stack. | |
gint32 | rx_read |
Bytes read from the RX stack. | |
guint32 | qrp_queries |
Queries received under QRP control. | |
guint32 | qrp_matches |
Queries received that incurred a match. | |
guint32 | rx_queries |
Total amount of queries received. | |
guint32 | tx_queries |
Total amount of queries sent. | |
guint32 | rx_qhits |
Total amount of hits received. | |
guint32 | tx_qhits |
Total amount of hits sent. | |
hsep_ctx_t * | hsep |
Horizon size estimation (HSEP) -- TSC, 11/02/2004. |
|
ip of the node
|
|
Period for sending alive pings (secs).
|
|
Opaque info, for alive ping checks.
|
|
Size of allocated buffer data, 0 for none.
|
|
See possible values below.
|
|
When we got connected (after handshake).
|
|
Country of origin -- encoded ISO3166.
|
|
data of the current message
|
|
Value of their advertised X-Degree.
|
|
To sprintf() error strings with vars.
|
|
Amount of extensions held.
|
|
GGEP extensions in "fat" messages.
|
|
See possible values below.
|
|
When != 0, we know the remote IP/port.
|
|
Used to answer "Crawling" pings.
|
|
GUID of node (atom) seen on the network.
|
|
Used to answer "Crawling" pings.
|
|
When != 0, last IP we got in pong.
|
|
(listening port, that is )
|
|
When != 0, last IP we got in query hit.
|
|
GUID of node (atom) for push-proxying.
|
|
TRUE if we have got a full message header.
|
|
Header of the current message.
|
|
Spill buffer for GNUTELLA HELLO.
|
|
Don't send queries with a >= hop count.
|
|
Horizon size estimation (HSEP) -- TSC, 11/02/2004.
|
|
Unique internal ID.
|
|
Opaque I/O callback information.
|
|
Last time we sent an alive ping.
|
|
Last time we received from the node.
|
|
Last time we transmitted to the node.
|
|
Last update of the node.
|
|
Time when leaf flow-controlled queries.
|
|
Magic value for consistency checks.
|
|
Value of their advertised X-Max-TTL.
|
|
Number of bad packets received.
|
|
Number of dup messages received (bad).
|
|
Number of hard_ttl exceeded (bad).
|
|
Number of messages from hostile IP.
|
|
Number of pings we accepted.
|
|
Number of pings we sent to this node.
|
|
Number of special pings we received.
|
|
Number of pings we throttled.
|
|
Number of pongs we received from this node.
|
|
Number of pongs we sent to this node.
|
|
Number of weird messages from that node.
|
|
When to send a ping, for "OLD" clients.
|
|
Handle of this node.
|
|
TX Output queue.
|
|
Operating mode (leaf, ultra, normal).
|
|
Time after which we accept new pings.
|
|
The GUID of the last accepted ping.
|
|
Period for accepting new pings (secs).
|
|
Sum(pong_needed[i]), i = 0..MAX_CACHE_HOPS.
|
|
Pongs needed, by hop value.
|
|
port of the node
|
|
write position in data
|
|
Handshaking protocol major number.
|
|
Handshaking protocol minor number.
|
|
|
|
ip of the node for push proxyfication
|
|
port of the node for push proxyfication
|
|
Queries relayed from this node.
|
|
When `qrelayed' was created.
|
|
Older version of the `qrelayed' table.
|
|
Query routing protocol major number.
|
|
Queries received that incurred a match.
|
|
Query routing protocol minor number.
|
|
Queries received under QRP control.
|
|
Info about received query table.
|
|
Opaque info, query routing reception.
|
|
Opaque info, query routing update handle.
|
|
Queries seen from this leaf node.
|
|
Number of received packets.
|
|
Opaque info, query table recved from node.
|
|
Reason of removing.
|
|
Opaque info, for gnet message routing.
|
|
RX stack top.
|
|
Number of packets dropped at RX time.
|
|
Bytes fed to the RX stack (from bottom).
|
|
Bytes inflated by the RX stack.
|
|
Total amount of hits received.
|
|
Total amount of queries received.
|
|
Bytes read from the RX stack.
|
|
Optional, time spent in RX flow control.
|
|
TX Search queue.
|
|
Number of sent packets.
|
|
Opaque info, query table sent to node.
|
|
When we entered in shutdown mode.
|
|
How long we can stay in shutdown mode.
|
|
How many bytes we need to read for the current message.
|
|
Socket of the node.
|
|
Operating mode when handshaking begun.
|
|
See possible values below.
|
|
RTT when exchange takes place over TCP.
|
|
Time sync event.
|
|
Bytes deflated by the TX stack.
|
|
Number of packets dropped at TX time.
|
|
When we entered in TX flow control.
|
|
Bytes fed to the TX stack (from top).
|
|
Total amount of hits sent.
|
|
Total amount of queries sent.
|
|
Bytes written by the TX stack.
|
|
RTT when exchange takes place over UDP.
|
|
When remote server started (0 if unknown).
|
|
UP Query routing protocol major number.
|
|
UP Query routing protocol minor number.
|
|
Vendor code (vcode.u32 == 0 if unknown).
|
|
Vendor information (always UTF-8).
|