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

net_stats.h File Reference

#include "common.h"

Go to the source code of this file.

Data Structures

struct  gnet_stat
struct  gnet_bw_stats

Defines

#define STATS_FLOWC_COLUMNS   10 /**< Type, 0..7, 8+ */
 Type, 0..7, 8+.

#define STATS_RECV_COLUMNS   10 /**< -"- */
 -"-


Typedefs

typedef enum msg_drop_reason msg_drop_reason_t
typedef gnet_stat gnet_stats_t
typedef gnet_bw_stats gnet_bw_stats_t

Enumerations

enum  {
  MSG_UNKNOWN = 0, MSG_INIT, MSG_INIT_RESPONSE, MSG_BYE,
  MSG_QRP, MSG_HSEP, MSG_VENDOR, MSG_STANDARD,
  MSG_PUSH_REQUEST, MSG_SEARCH, MSG_SEARCH_RESULTS, MSG_TOTAL,
  MSG_TYPE_COUNT
}
enum  msg_drop_reason {
  MSG_DROP_BAD_SIZE = 0, MSG_DROP_TOO_SMALL, MSG_DROP_TOO_LARGE, MSG_DROP_WAY_TOO_LARGE,
  MSG_DROP_UNKNOWN_TYPE, MSG_DROP_UNEXPECTED, MSG_DROP_TTL0, MSG_DROP_IMPROPER_HOPS_TTL,
  MSG_DROP_MAX_TTL_EXCEEDED, MSG_DROP_THROTTLE, MSG_DROP_PONG_UNUSABLE, MSG_DROP_HARD_TTL_LIMIT,
  MSG_DROP_MAX_HOP_COUNT, MSG_DROP_ROUTE_LOST, MSG_DROP_NO_ROUTE, MSG_DROP_DUPLICATE,
  MSG_DROP_BANNED, MSG_DROP_SHUTDOWN, MSG_DROP_FLOW_CONTROL, MSG_DROP_QUERY_NO_NUL,
  MSG_DROP_QUERY_TOO_SHORT, MSG_DROP_QUERY_OVERHEAD, MSG_DROP_MALFORMED_SHA1, MSG_DROP_MALFORMED_UTF_8,
  MSG_DROP_BAD_RESULT, MSG_DROP_BAD_RETURN_ADDRESS, MSG_DROP_HOSTILE_IP, MSG_DROP_REASON_COUNT
}
enum  gnr_stats_t {
  GNR_ROUTING_ERRORS = 0, GNR_LOCAL_SEARCHES, GNR_LOCAL_HITS, GNR_LOCAL_QUERY_HITS,
  GNR_OOB_PROXIED_QUERY_HITS, GNR_OOB_QUERIES, GNR_OOB_QUERIES_STRIPPED, GNR_DUPS_WITH_HIGHER_TTL,
  GNR_QUERY_OOB_PROXIED_DUPS, GNR_OOB_HITS_FOR_PROXIED_QUERIES, GNR_OOB_HITS_WITH_ALIEN_IP, GNR_UNCLAIMED_OOB_HITS,
  GNR_PARTIALLY_CLAIMED_OOB_HITS, GNR_QUERY_COMPACT_COUNT, GNR_QUERY_COMPACT_SIZE, GNR_QUERY_UTF8,
  GNR_QUERY_SHA1, GNR_BROADCASTED_PUSHES, GNR_PUSH_PROXY_RELAYED, GNR_PUSH_PROXY_BROADCASTED,
  GNR_PUSH_PROXY_FAILED, GNR_LOCAL_DYN_QUERIES, GNR_LEAF_DYN_QUERIES, GNR_OOB_PROXIED_QUERIES,
  GNR_DYN_QUERIES_COMPLETED_FULL, GNR_DYN_QUERIES_COMPLETED_PARTIAL, GNR_DYN_QUERIES_COMPLETED_ZERO, GNR_DYN_QUERIES_LINGER_EXTRA,
  GNR_DYN_QUERIES_LINGER_RESULTS, GNR_DYN_QUERIES_LINGER_COMPLETED, GNR_GTKG_TOTAL_QUERIES, GNR_GTKG_REQUERIES,
  GNR_QUERIES_WITH_GGEP_H, GNR_GIV_CALLBACKS, GNR_QUEUE_CALLBACKS, GNR_UDP_BOGUS_SOURCE_IP,
  GNR_UDP_ALIEN_MESSAGE, GNR_UDP_UNPROCESSED_MESSAGE, GNR_TYPE_COUNT
}
enum  gnet_bw_source {
  BW_GNET_IN, BW_GNET_OUT, BW_HTTP_IN, BW_HTTP_OUT,
  BW_LEAF_IN, BW_LEAF_OUT, BW_GNET_UDP_IN, BW_GNET_UDP_OUT
}


Define Documentation

#define STATS_FLOWC_COLUMNS   10 /**< Type, 0..7, 8+ */
 

Type, 0..7, 8+.

#define STATS_RECV_COLUMNS   10 /**< -"- */
 

-"-


Typedef Documentation

typedef struct gnet_bw_stats gnet_bw_stats_t
 

typedef struct gnet_stat gnet_stats_t
 

typedef enum msg_drop_reason msg_drop_reason_t
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
MSG_UNKNOWN 
MSG_INIT 
MSG_INIT_RESPONSE 
MSG_BYE 
MSG_QRP 
MSG_HSEP 
MSG_VENDOR 
MSG_STANDARD 
MSG_PUSH_REQUEST 
MSG_SEARCH 
MSG_SEARCH_RESULTS 
MSG_TOTAL  always counted (for all the above types)
MSG_TYPE_COUNT  number of known message types

enum gnet_bw_source
 

Enumeration values:
BW_GNET_IN 
BW_GNET_OUT 
BW_HTTP_IN 
BW_HTTP_OUT 
BW_LEAF_IN 
BW_LEAF_OUT 
BW_GNET_UDP_IN 
BW_GNET_UDP_OUT 

enum gnr_stats_t
 

Enumeration values:
GNR_ROUTING_ERRORS 
GNR_LOCAL_SEARCHES 
GNR_LOCAL_HITS 
GNR_LOCAL_QUERY_HITS 
GNR_OOB_PROXIED_QUERY_HITS 
GNR_OOB_QUERIES 
GNR_OOB_QUERIES_STRIPPED 
GNR_DUPS_WITH_HIGHER_TTL 
GNR_QUERY_OOB_PROXIED_DUPS 
GNR_OOB_HITS_FOR_PROXIED_QUERIES 
GNR_OOB_HITS_WITH_ALIEN_IP 
GNR_UNCLAIMED_OOB_HITS 
GNR_PARTIALLY_CLAIMED_OOB_HITS 
GNR_QUERY_COMPACT_COUNT 
GNR_QUERY_COMPACT_SIZE 
GNR_QUERY_UTF8 
GNR_QUERY_SHA1 
GNR_BROADCASTED_PUSHES 
GNR_PUSH_PROXY_RELAYED 
GNR_PUSH_PROXY_BROADCASTED 
GNR_PUSH_PROXY_FAILED 
GNR_LOCAL_DYN_QUERIES 
GNR_LEAF_DYN_QUERIES 
GNR_OOB_PROXIED_QUERIES 
GNR_DYN_QUERIES_COMPLETED_FULL 
GNR_DYN_QUERIES_COMPLETED_PARTIAL 
GNR_DYN_QUERIES_COMPLETED_ZERO 
GNR_DYN_QUERIES_LINGER_EXTRA 
GNR_DYN_QUERIES_LINGER_RESULTS 
GNR_DYN_QUERIES_LINGER_COMPLETED 
GNR_GTKG_TOTAL_QUERIES 
GNR_GTKG_REQUERIES 
GNR_QUERIES_WITH_GGEP_H 
GNR_GIV_CALLBACKS 
GNR_QUEUE_CALLBACKS 
GNR_UDP_BOGUS_SOURCE_IP 
GNR_UDP_ALIEN_MESSAGE 
GNR_UDP_UNPROCESSED_MESSAGE 
GNR_TYPE_COUNT 

enum msg_drop_reason
 

Enumeration values:
MSG_DROP_BAD_SIZE 
MSG_DROP_TOO_SMALL 
MSG_DROP_TOO_LARGE 
MSG_DROP_WAY_TOO_LARGE 
MSG_DROP_UNKNOWN_TYPE 
MSG_DROP_UNEXPECTED 
MSG_DROP_TTL0 
MSG_DROP_IMPROPER_HOPS_TTL 
MSG_DROP_MAX_TTL_EXCEEDED 
MSG_DROP_THROTTLE 
MSG_DROP_PONG_UNUSABLE 
MSG_DROP_HARD_TTL_LIMIT 
MSG_DROP_MAX_HOP_COUNT 
MSG_DROP_ROUTE_LOST 
MSG_DROP_NO_ROUTE 
MSG_DROP_DUPLICATE 
MSG_DROP_BANNED 
MSG_DROP_SHUTDOWN 
MSG_DROP_FLOW_CONTROL 
MSG_DROP_QUERY_NO_NUL 
MSG_DROP_QUERY_TOO_SHORT 
MSG_DROP_QUERY_OVERHEAD 
MSG_DROP_MALFORMED_SHA1 
MSG_DROP_MALFORMED_UTF_8 
MSG_DROP_BAD_RESULT 
MSG_DROP_BAD_RETURN_ADDRESS 
MSG_DROP_HOSTILE_IP 
MSG_DROP_REASON_COUNT  number of known reasons to drop a message


Generated on Sun Feb 12 10:50:04 2006 for Gtk-Gnutella by doxygen 1.3.6