projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory freeing bugs. Seems stable, even through loss of connections.
[trust_router.git]
/
include
/
trust_router
/
trp.h
diff --git
a/include/trust_router/trp.h
b/include/trust_router/trp.h
index
c544f9f
..
0d998d1
100644
(file)
--- a/
include/trust_router/trp.h
+++ b/
include/trust_router/trp.h
@@
-12,6
+12,8
@@
#define trp_metric_is_invalid(x) (((x)>TRP_METRIC_INFINITY) || ((x)==TRP_METRIC_INVALID))
#define TRP_INTERVAL_INVALID 0
+#define TRP_LINKCOST_DEFAULT 1
+
typedef enum trp_rc {
TRP_SUCCESS=0,
TRP_ERROR, /* generic error */