On Tue, Feb 14, 2012 at 02:07:57PM +0800, Marek Lindner wrote: > On Tuesday, February 14, 2012 04:33:52 Antonio Quartulli wrote: > > > Moreover, the name dht_hash is a bit confusing. At first I thought it is > > > a pointer to a hash (read: orig_hash/tt_local_hash/tt_global_hash/etc). > > > > ok, I'll rename it to dht_id (or dht_addr ?) > > It is difficult for me to suggest a better name because I don't understand > what this variable is used for.
Ops sorry! Actually this variable represent the address of the node (me or the others, depending on the struct it belongs to - bat_priv or orig_node) in the dht space. In the dht space every object has an id, either mesh_node and stored keys. I'd say that dht_addr better represent this concept. Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara
pgpGJJMc3cohP.pgp
Description: PGP signature
