original_kernel/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
..
Kconfig
Makefile
aggregation.c
aggregation.h
bat_debugfs.c
bat_debugfs.h
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
bitarray.h
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
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h
icmp_socket.c
icmp_socket.h
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
originator.c
originator.h
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
ring_buffer.h
routing.c
routing.h
send.c
send.h
soft-interface.c batman-adv: improved gateway tq-based selection 2011-06-20 11:37:41 +02:00
soft-interface.h
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
unicast.h
vis.c
vis.h