Re: [B.A.T.M.A.N.] [PATCH] batman-adv: improve unicast packet (re)routing

2012-03-16 Thread Marek Lindner
On Friday, March 16, 2012 22:58:20 Antonio Quartulli wrote: > +/* returns true whether we know that the client has moved from its old > + * originator to another one. This entry is kept is still kept for > consistency + * purposes */ > +bool tt_global_client_is_roaming(struct bat_priv *bat_priv, ui

[B.A.T.M.A.N.] [PATCH] batman-adv: improve unicast packet (re)routing

2012-03-16 Thread Antonio Quartulli
In case of a client X roaming from a generic node A to another node B, it is possible that a third node C gets A's OGM but not B's. At this point in time, if C wants to send data to X it will send a unicast packet destined to A. The packet header will contain A's last ttvn (C got A's OGM and so it