From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 16 Mar 2012 23:47:32 +0800 References: <1331909900-25173-1-git-send-email-ordex@autistici.org> In-Reply-To: <1331909900-25173-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203162347.33457.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: improve unicast packet (re)routing Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking 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, uint8_t *addr) > +{ > + struct tt_global_entry *tt_global_entry = > + tt_global_hash_find(bat_priv, addr); Unless you wish to feel David's wrath you should make this 2 lines. Regards, Marek