linux/net/batman-adv
Antonio Quartulli 0bf84c160a batman-adv: create common header for ICMP packets
the icmp and the icmp_rr packets share the same initial
fields since they use the same code to be processed and
forwarded.

Extract the common fields and put them into a separate
struct so that future ICMP packets can be easily added
without bloating the packet definition.

However, keep the seqno field outside of the newly created
common header because future ICMP types may require a
bigger sequence number space.

This change breaks compatibility due to fields reordering
in the ICMP headers.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-10-12 17:17:09 +02:00
..
bat_algo.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bat_iv_ogm.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
bitarray.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bitarray.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bridge_loop_avoidance.c batman-adv: use htons when possible 2013-10-12 11:59:23 +02:00
bridge_loop_avoidance.h batman-adv: change VID semantic in the BLA code 2013-05-29 02:44:55 +02:00
debugfs.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
debugfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
distributed-arp-table.c batman-adv: Remove old fragmentation code 2013-10-12 11:58:33 +02:00
distributed-arp-table.h batman-adv: tvlv - add distributed arp table container 2013-10-09 21:22:27 +02:00
fragmentation.c batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00
fragmentation.h batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00
gateway_client.c batman-adv: use htons when possible 2013-10-12 11:59:23 +02:00
gateway_client.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.c batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
hard-interface.c batman-adv: use htons when possible 2013-10-12 11:59:23 +02:00
hard-interface.h batman-adv: Don't always delete softif when last slave was removed 2013-03-27 10:27:32 +01:00
hash.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hash.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
icmp_socket.c batman-adv: create common header for ICMP packets 2013-10-12 17:17:09 +02:00
icmp_socket.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
main.c batman-adv: create common header for ICMP packets 2013-10-12 17:17:09 +02:00
main.h batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
Makefile batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
network-coding.c batman-adv: tvlv - add network coding container 2013-10-09 21:22:28 +02:00
network-coding.h batman-adv: tvlv - add network coding container 2013-10-09 21:22:28 +02:00
originator.c batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
originator.h batman-adv: drop useless argument seqno in neighbor creation 2013-05-29 02:44:53 +02:00
packet.h batman-adv: create common header for ICMP packets 2013-10-12 17:17:09 +02:00
routing.c batman-adv: create common header for ICMP packets 2013-10-12 17:17:09 +02:00
routing.h batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
send.c batman-adv: use htons when possible 2013-10-12 11:59:23 +02:00
send.h batman-adv: Remove old fragmentation code 2013-10-12 11:58:33 +02:00
soft-interface.c batman-adv: use htons when possible 2013-10-12 11:59:23 +02:00
soft-interface.h batman-adv: Allow to use rntl_link for device creation/deletion 2013-03-27 10:27:34 +01:00
sysfs.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
sysfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
translation-table.c batman-adv: don't use call_rcu if not needed 2013-10-12 09:51:28 +02:00
translation-table.h batman-adv: remove batadv_tt_global_add_orig declaration 2013-10-12 09:51:28 +02:00
types.h batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00