projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
284ad24
)
new property
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 18 Oct 2013 12:23:34 +0000
(12:23 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 18 Oct 2013 12:23:34 +0000
(12:23 +0000)
src/include/gnunet_ats_service.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_ats_service.h
b/src/include/gnunet_ats_service.h
index 710e14a1143f74b76e957a3c2d5a55f2f6b2a73f..2b654b053121fc492258df8d3c4c6d2693a88ce1 100644
(file)
--- a/
src/include/gnunet_ats_service.h
+++ b/
src/include/gnunet_ats_service.h
@@
-83,12
+83,12
@@
enum GNUNET_ATS_Network_Type
/**
* Number of property types supported by ATS
*/
/**
* Number of property types supported by ATS
*/
-#define GNUNET_ATS_PropertyCount
9
+#define GNUNET_ATS_PropertyCount
11
/**
* ATS properties types as string array initializer
*/
/**
* ATS properties types as string array initializer
*/
-#define GNUNET_ATS_PropertyStrings {"TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN"}
+#define GNUNET_ATS_PropertyStrings {"TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "
UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "
NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN"}
/**
* Enum defining all known property types for ATS Enum values are used
/**
* Enum defining all known property types for ATS Enum values are used
@@
-109,19
+109,38
@@
enum GNUNET_ATS_Property
*/
GNUNET_ATS_ARRAY_TERMINATOR = 0,
*/
GNUNET_ATS_ARRAY_TERMINATOR = 0,
+ /**
+ * Actual traffic on this connection from this peer to the other peer.
+ * Includes transport overhead
+ *
+ * Unit: [bytes/second]
+ */
+ GNUNET_ATS_UTILIZATION_OUT,
+
/**
* Actual traffic on this connection from the other peer to this peer.
/**
* Actual traffic on this connection from the other peer to this peer.
+ * Includes transport overhead
*
* Unit: [bytes/second]
*/
*
* Unit: [bytes/second]
*/
- GNUNET_ATS_UTILIZATION_UP,
+ GNUNET_ATS_UTILIZATION_IN,
+
/**
* Actual traffic on this connection from this peer to the other peer.
/**
* Actual traffic on this connection from this peer to the other peer.
+ * Only payload from layers > transport
+ *
+ * Unit: [bytes/second]
+ */
+ GNUNET_ATS_UTILIZATION_PAYLOAD_OUT,
+
+ /**
+ * Actual traffic on this connection from the other peer to this peer.
+ * Only payload from layers > transport
*
* Unit: [bytes/second]
*/
*
* Unit: [bytes/second]
*/
- GNUNET_ATS_UTILIZATION_
DOW
N,
+ GNUNET_ATS_UTILIZATION_
PAYLOAD_I
N,
/**
* Is this address located in WAN, LAN or a loopback address
/**
* Is this address located in WAN, LAN or a loopback address