WSL2-Linux-Kernel/net/batman-adv
Sven Eckelmann e8958dbf0d batman-adv: Use enums for related constants
CodingStyle "Chapter 12: Macros, Enums and RTL" recommends to use enums
for several related constants. Internal states can be used without
defining the actual value, but all values which are visible to the
outside must be defined as before. Normal values are assigned as usual
and flags are defined by shifts of a bit.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2011-06-09 20:40:38 +02:00
..
Kconfig net: Add batman-adv meshing protocol 2010-12-16 13:44:24 -08:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
aggregation.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
aggregation.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +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: Rewrite debugfs kobj_to_* helpers as functions 2011-06-09 20:40:38 +02:00
bat_sysfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.c batman-adv: Remove explicit casts cast from void* for store 2011-05-30 07:39:32 +02:00
bitarray.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
gateway_client.c batman-adv: Don't return value in void function 2011-06-09 20:40:38 +02:00
gateway_client.h batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
gateway_common.c batman-adv: Fix signedness problem in parse_gw_bandwidth 2011-06-09 20:40:38 +02:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: Use rcu_dereference_protected by update-side 2011-05-30 07:39:34 +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
main.c batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
main.h batman-adv: Use enums for related constants 2011-06-09 20:40:38 +02:00
originator.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
originator.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
packet.h batman-adv: Use enums for related constants 2011-06-09 20:40:38 +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: accept delayed rebroadcasts to avoid bogus routing under heavy load 2011-06-09 20:40:37 +02:00
routing.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
send.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
send.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
soft-interface.c batman-adv: Use rcu_dereference_protected by update-side 2011-05-30 07:39:34 +02:00
soft-interface.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
translation-table.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
translation-table.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
types.h batman-adv: a multiline comment should precede the variable it is describing 2011-05-30 07:39:36 +02:00
unicast.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +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: move smallest_signed_int(), seq_before() and seq_after() into main.h 2011-05-30 07:39:35 +02:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00