[Olsr-cvs] olsrd-current/lib/nameservice/src nameservice.c, 1.32, 1.33
Bernd Petrovitsch
(spam-protected)
Fri Nov 2 21:58:09 CET 2007
- Previous message: [Olsr-cvs] olsrd-current/lib/tas/src plugin.c,1.13,1.14
- Next message: [Olsr-cvs] olsrd-current/src tc_set.h, 1.19, 1.20 tc_set.c, 1.33, 1.34 link_set.h, 1.32, 1.33 link_set.c, 1.75, 1.76
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/lib/nameservice/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21496/lib/nameservice/src
Modified Files:
nameservice.c
Log Message:
Some minor and trivial cleanup: Added two functions to calculate the ETX
value from a struct tc_edge_entry and a struct link_entry, respectively.
And use them everywhere.
Index: nameservice.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/nameservice/src/nameservice.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** nameservice.c 5 Oct 2007 20:24:47 -0000 1.32
--- nameservice.c 2 Nov 2007 20:58:07 -0000 1.33
***************
*** 1540,1546 ****
tc_edge->link_quality,
tc_edge->inverse_link_quality,
! (tc_edge->link_quality * tc_edge->inverse_link_quality) ?
! 1.0 / (tc_edge->link_quality * tc_edge->inverse_link_quality) :
! 0.0);
} OLSR_FOR_ALL_TC_EDGE_ENTRIES_END(tc, tc_edge);
--- 1540,1544 ----
tc_edge->link_quality,
tc_edge->inverse_link_quality,
! olsr_calc_tc_etx(tc_edge));
} OLSR_FOR_ALL_TC_EDGE_ENTRIES_END(tc, tc_edge);
- Previous message: [Olsr-cvs] olsrd-current/lib/tas/src plugin.c,1.13,1.14
- Next message: [Olsr-cvs] olsrd-current/src tc_set.h, 1.19, 1.20 tc_set.c, 1.33, 1.34 link_set.h, 1.32, 1.33 link_set.c, 1.75, 1.76
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list