diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-05-18 12:56:57 (GMT) |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-12 15:17:09 (GMT) |
commit | 0bf84c160a4b3b75bb911b79c3972f64dfb0b039 (patch) | |
tree | a9e591fe7314fab7c6554959df2c6340699edc46 /net/batman-adv/main.h | |
parent | 293e93385e024be71500c9480ef85d6199459d17 (diff) | |
download | linux-0bf84c160a4b3b75bb911b79c3972f64dfb0b039.tar.xz |
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>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions