linux/net/batman-adv
Sven Eckelmann f6c57a4609 batman-adv: Mark correctly aligned headers not as __packed
Headers which are already perfectly aligned and create a 4 byte boundary
non-ethernet header payload can have the __packed attribute removed. The
__packed attribute doesn't change the appeareance of the packet for these
headers because no extra padding is necessary to align the data members. The
compiler will also create slightly faster code for loads of multi-byte members.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
2012-11-07 20:00:17 +01:00
..
bat_algo.h batman-adv: Reformat multiline comments to consistent style 2012-06-20 22:15:33 +02:00
bat_iv_ogm.c batman-adv: Reserve extra bytes in skb for better alignment 2012-11-07 20:00:16 +01:00
bitarray.c batman-adv: Remove extra check in batadv_bit_get_packet 2012-10-29 09:42:34 +01:00
bitarray.h batman-adv: make batadv_test_bit() return 0 or 1 only 2012-09-19 15:49:53 -04:00
bridge_loop_avoidance.c batman-adv: consolidate duplicated primary_if checking code 2012-10-29 09:42:29 +01:00
bridge_loop_avoidance.h batman-adv: Add the backbone gateway list to debugfs 2012-08-23 14:02:41 +02:00
debugfs.c batman-adv: Check return value of try_module_get 2012-10-29 09:42:36 +01:00
debugfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
gateway_client.c batman-adv: consolidate duplicated primary_if checking code 2012-10-29 09:42:29 +01:00
gateway_client.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
gateway_common.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
gateway_common.h batman-adv: Prefix gateway enum with BATADV_ 2012-07-01 22:47:18 +02:00
hard-interface.c batman-adv: split hard_iface struct for each routing protocol 2012-10-29 09:39:05 +01:00
hard-interface.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
hash.c batman-adv: Remove space before semicolon 2012-07-01 22:47:23 +02:00
hash.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
icmp_socket.c batman-adv: Reserve extra bytes in skb for better alignment 2012-11-07 20:00:16 +01:00
icmp_socket.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
Kconfig
main.c batman-adv: Check return value of try_module_get 2012-10-29 09:42:36 +01:00
main.h batman-adv: add kernel-doc for enum batadv_dbg_level 2012-10-29 09:42:51 +01:00
Makefile batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
originator.c batman-adv: consolidate duplicated primary_if checking code 2012-10-29 09:42:29 +01:00
originator.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
packet.h batman-adv: Mark correctly aligned headers not as __packed 2012-11-07 20:00:17 +01:00
ring_buffer.c batman-adv: Prefix main defines with BATADV_ 2012-06-28 08:45:05 +02:00
ring_buffer.h batman-adv: Reformat multiline comments to consistent style 2012-06-20 22:15:33 +02:00
routing.c batman-adv: check for more space before accessing the skb 2012-10-29 09:42:45 +01:00
routing.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
send.c batman-adv: Don't break statements after assignment operator 2012-08-23 14:20:20 +02:00
send.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
soft-interface.c batman-adv: don't allow ECTP traffic on batman-adv 2012-10-29 09:42:40 +01:00
soft-interface.h batman-adv: change interface_rx to get orig node 2012-08-23 14:20:22 +02:00
sysfs.c batman-adv: Remove unused define BAT_ATTR_HIF_UINT 2012-10-29 09:42:21 +01:00
sysfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
translation-table.c batman-adv: Reserve extra bytes in skb for better alignment 2012-11-07 20:00:16 +01:00
translation-table.h batman-adv: pass the WIFI flag from the local to global entry 2012-10-29 09:42:49 +01:00
types.h batman-adv: split hard_iface struct for each routing protocol 2012-10-29 09:39:05 +01:00
unicast.c batman-adv: Reduce accumulated length of simple statements 2012-08-23 14:20:21 +02:00
unicast.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
vis.c batman-adv: Reserve extra bytes in skb for better alignment 2012-11-07 20:00:16 +01:00
vis.h batman-adv: fix typos in comments 2012-08-23 14:02:45 +02:00