summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-11-26 00:38:50 +0100
committerAntonio Quartulli <ordex@autistici.org>2012-11-30 10:50:22 +0100
commitaf5d4f7737963f2112f148f97c5820425f050650 (patch)
treef5d5d7b9fcb172df041b8fb34fad875f0c87b9d5 /net/batman-adv/packet.h
parentbb728820fe7c42fdb838ab2745fb5fe6b18b5ffa (diff)
downloadblackbird-op-linux-af5d4f7737963f2112f148f97c5820425f050650.tar.gz
blackbird-op-linux-af5d4f7737963f2112f148f97c5820425f050650.zip
batman-adv: use ETH_P_BATMAN
The ETH_P_BATMAN ethertype is now defined kernel-wide. Use it instead of the private BATADV_ETH_P_BATMAN define. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index 1c5454d33f67..cb6405bf755c 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -20,8 +20,6 @@
#ifndef _NET_BATMAN_ADV_PACKET_H_
#define _NET_BATMAN_ADV_PACKET_H_
-#define BATADV_ETH_P_BATMAN 0x4305 /* unofficial/not registered Ethertype */
-
enum batadv_packettype {
BATADV_IV_OGM = 0x01,
BATADV_ICMP = 0x02,
OpenPOWER on IntegriCloud