alistair23-linux/net/batman-adv
Martin Hundebøll a04ccd5970 batman-adv: Move is_out_of_time() to main.h for general use
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.

For readability and simplicity, the function is renamed to
has_timed_out() and uses time_is_before_jiffies() instead of
time_after().

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2012-02-17 02:50:19 +08:00
..
bat_debugfs.c
bat_debugfs.h
bat_iv_ogm.c batman-adv: simplify bat_ogm_receive API call 2012-02-17 02:50:19 +08:00
bat_ogm.h batman-adv: simplify bat_ogm_receive API call 2012-02-17 02:50:19 +08:00
bat_sysfs.c batman-adv: Replace obsolete strict_strto<foo> with kstrto<foo> 2011-11-20 13:08:31 +01:00
bat_sysfs.h
bitarray.c batman-adv: Fix range check for expected packets 2011-11-20 13:08:35 +01:00
bitarray.h
gateway_client.c batman-adv: remove extra negation in gw_out_of_range() 2011-12-07 02:45:59 +08:00
gateway_client.h batman-adv: refactoring gateway handling code 2011-11-20 13:08:32 +01:00
gateway_common.c batman-adv: Replace obsolete strict_strto<foo> with kstrto<foo> 2011-11-20 13:08:31 +01:00
gateway_common.h
hard-interface.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
hard-interface.h batman-adv: detect clients connected through a 802.11 device 2011-08-22 15:16:20 +02:00
hash.c batman-adv: fixed hash functions type to uint32_t instead of int 2011-11-20 13:08:33 +01:00
hash.h batman-adv: fixed hash functions type to uint32_t instead of int 2011-11-20 13:08:33 +01:00
icmp_socket.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
icmp_socket.h
Kconfig
main.c batman-adv: Rm empty line from is_my_mac() in main.c 2012-02-17 02:50:19 +08:00
main.h batman-adv: Move is_out_of_time() to main.h for general use 2012-02-17 02:50:19 +08:00
Makefile batman-adv: agglomerate all batman iv ogm sending functions in the batman iv file 2011-09-08 17:44:41 +02:00
originator.c batman-adv: add tt_initialised flag to the orig_node struct 2012-02-17 02:50:18 +08:00
originator.h batman-adv: fixed hash functions type to uint32_t instead of int 2011-11-20 13:08:33 +01:00
packet.h batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
ring_buffer.c
ring_buffer.h
routing.c batman-adv: simplify bat_ogm_receive API call 2012-02-17 02:50:19 +08:00
routing.h batman-adv: agglomerate all batman iv ogm processing functions in a single file 2011-09-08 17:39:06 +02:00
send.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
send.h batman-adv: agglomerate all batman iv ogm sending functions in the batman iv file 2011-09-08 17:44:41 +02:00
soft-interface.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
soft-interface.h
translation-table.c batman-adv: Move is_out_of_time() to main.h for general use 2012-02-17 02:50:19 +08:00
translation-table.h batman-adv: merge update_transtable() into tt related code 2011-08-22 15:16:22 +02:00
types.h batman-adv: add tt_initialised flag to the orig_node struct 2012-02-17 02:50:18 +08:00
unicast.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
unicast.h batman-adv: correct several typ0s in the comments 2011-08-22 15:16:19 +02:00
vis.c batman-adv: Explicitly mark the common header structure 2012-02-17 02:50:19 +08:00
vis.h