kernel_optimize_test/net/batman-adv
Simon Wunderlich da6b8c20a5 batman-adv: generalize batman-adv icmp packet handling
Instead of handling icmp packets only up to length of icmp_packet_rr,
the code should handle any icmp length size. Therefore the length
truncating is moved to when the packet is actually sent to userspace
(this does not support lengths longer than icmp_packet_rr yet). Longer
packets are forwarded without truncating.

This patch also cleans up some parts where the icmp header struct could
be used instead of other icmp_packet(_rr) structs to make the code more
readable.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
2013-10-23 17:03:47 +02:00
..
bat_algo.h
bat_iv_ogm.c batman-adv: provide orig_node routing API 2013-10-23 17:03:21 +02:00
bitarray.c
bitarray.h
bridge_loop_avoidance.c batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
bridge_loop_avoidance.h batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
debugfs.c
debugfs.h
distributed-arp-table.c batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
distributed-arp-table.h
fragmentation.c
fragmentation.h
gateway_client.c batman-adv: make struct batadv_neigh_node algorithm agnostic 2013-10-23 15:33:08 +02:00
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c batman-adv: invoke dev_get_by_index() outside of is_wifi_iface() 2013-10-23 17:03:44 +02:00
hard-interface.h batman-adv: invoke dev_get_by_index() outside of is_wifi_iface() 2013-10-23 17:03:44 +02:00
hash.c
hash.h
icmp_socket.c batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00
icmp_socket.h batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00
Kconfig
main.c batman-adv: add bat_neigh_is_equiv_or_better API function 2013-10-23 15:33:11 +02:00
main.h batman-adv: Start new development cycle 2013-10-23 17:03:46 +02:00
Makefile
network-coding.c batman-adv: make struct batadv_neigh_node algorithm agnostic 2013-10-23 15:33:08 +02:00
network-coding.h
originator.c batman-adv: provide orig_node routing API 2013-10-23 17:03:21 +02:00
originator.h batman-adv: make struct batadv_orig_node algorithm agnostic 2013-10-23 15:33:09 +02:00
packet.h batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00
routing.c batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00
routing.h batman-adv: adapt bonding to use the new API functions 2013-10-23 15:33:12 +02:00
send.c batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
send.h batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
soft-interface.c batman-adv: limit local translation table max size 2013-10-23 17:03:43 +02:00
soft-interface.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
sysfs.c batman-adv: make the AP isolation attribute VLAN specific 2013-10-19 17:28:47 +02:00
sysfs.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
translation-table.c batman-adv: include the sync-flags when compute the global/local table CRC 2013-10-23 17:03:46 +02:00
translation-table.h batman-adv: limit local translation table max size 2013-10-23 17:03:43 +02:00
types.h batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00