linux/net/batman-adv
Antonio Quartulli 5fbc1598c2 batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry
The tt_local_entry structure now has a 'flags' field. This helps to
unify the flags format to all the client related structures (tt_global_entry
and tt_change). The 'never_purge' field is now encoded in the 'flags' one.
To optimise the usage of this field, its length has been increased to 16bit
in order to use the eight leading bits (from 0 to 7) to store flags that
have to be sent on the wire, while the eight ending ones are used for local
computation only.

Moreover 'enum tt_change_flags' is now called 'enum tt_client_flags' and the
defined values apply to the tt_local_entry, tt_global_entry and the tt_change
'flags' field.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2011-07-05 14:28:54 +02:00
..
aggregation.c batman-adv: improved client announcement mechanism 2011-06-20 11:37:24 +02:00
aggregation.h batman-adv: improved client announcement mechanism 2011-06-20 11:37:24 +02:00
bat_debugfs.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
bat_debugfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.c batman-adv: add wrapper function to throw uevent in userspace 2011-06-20 11:37:33 +02:00
bat_sysfs.h batman-adv: add wrapper function to throw uevent in userspace 2011-06-20 11:37:33 +02:00
bitarray.c batman-adv: Reduce usage of char 2011-06-20 11:37:18 +02:00
bitarray.h batman-adv: Reduce usage of char 2011-06-20 11:37:18 +02:00
gateway_client.c batman-adv: improved gateway tq-based selection 2011-06-20 11:37:41 +02:00
gateway_client.h batman-adv: improved gateway tq-based selection 2011-06-20 11:37:41 +02:00
gateway_common.c batman-adv: Reduce usage of char 2011-06-20 11:37:18 +02:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: improved roaming mechanism 2011-06-20 11:37:27 +02:00
hard-interface.h batman-adv: Use enums for related constants 2011-06-09 20:40:38 +02:00
hash.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
hash.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
icmp_socket.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
icmp_socket.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
Kconfig batman-adv: improved client announcement mechanism 2011-06-20 11:37:24 +02:00
main.c batman-adv: gateway election code refactoring 2011-06-20 11:37:35 +02:00
main.h batman-adv: improved gateway tq-based selection 2011-06-20 11:37:41 +02:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
originator.c batman-adv: improved roaming mechanism 2011-06-20 11:37:27 +02:00
originator.h batman-adv: Move compare_orig to originator.c 2011-06-20 10:38:55 +02:00
packet.h batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry 2011-07-05 14:28:54 +02:00
ring_buffer.c batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
ring_buffer.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
routing.c batman-adv: protect the local and the global trans-tables with rcu 2011-06-20 11:37:30 +02:00
routing.h batman-adv: improved roaming mechanism 2011-06-20 11:37:27 +02:00
send.c batman-adv: improved roaming mechanism 2011-06-20 11:37:27 +02:00
send.h batman-adv: improved client announcement mechanism 2011-06-20 11:37:24 +02:00
soft-interface.c batman-adv: improved gateway tq-based selection 2011-06-20 11:37:41 +02:00
soft-interface.h batman-adv: Keep interface_tx as local function 2011-06-20 10:38:59 +02:00
translation-table.c batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry 2011-07-05 14:28:54 +02:00
translation-table.h batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry 2011-07-05 14:28:54 +02:00
types.h batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry 2011-07-05 14:28:54 +02:00
unicast.c batman-adv: improved client announcement mechanism 2011-06-20 11:37:24 +02:00
unicast.h batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
vis.c batman-adv: protect the local and the global trans-tables with rcu 2011-06-20 11:37:30 +02:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00