From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 10 Dec 2011 17:28:54 +0800 References: <4EDA4621.905@hundeboll.net> <1323347561-10028-1-git-send-email-martin@hundeboll.net> In-Reply-To: <1323347561-10028-1-git-send-email-martin@hundeboll.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201112101728.55153.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Move is_out_of_time() to main.h for general use 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 Thursday, December 08, 2011 20:32:41 Martin Hundeb=C3=B8ll wrote: > Both translation tables and network coding use timeouts to do house > keeping, so we might as well share the function used to compare a > timestamp+timeout with current time. >=20 > For readability and simplicity, the function is renamed to > has_timed_out() and uses time_is_before_jiffies() instead of > time_after(). Applied in revision 7ee2219. Thanks, Marek