+ // bandwidth estimator
+ double cleartime; // if realtime > nc->cleartime, free to go
+
+ // this tracks packet loss and packet sizes on the most recent packets
+ // used by shownetgraph feature
+#define NETGRAPH_PACKETS 100
+#define NETGRAPH_NOPACKET 0
+#define NETGRAPH_LOSTPACKET -1
+#define NETGRAPH_CHOKEDPACKET -2
+ int incoming_packetcounter;
+ int incoming_reliablesize[NETGRAPH_PACKETS];
+ int incoming_unreliablesize[NETGRAPH_PACKETS];
+ int incoming_acksize[NETGRAPH_PACKETS];
+ int outgoing_packetcounter;
+ int outgoing_reliablesize[NETGRAPH_PACKETS];
+ int outgoing_unreliablesize[NETGRAPH_PACKETS];
+ int outgoing_acksize[NETGRAPH_PACKETS];
+