diff options
author | Sven Eckelmann <sven.eckelmann@openmesh.com> | 2017-12-21 10:17:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-21 15:35:53 -0500 |
commit | fec149f5d3234c037ec761d1db4cc8c0550e9964 (patch) | |
tree | 1305e39ca26f665f14ecfdc230c6d54f1e17d769 /net/batman-adv/hard-interface.c | |
parent | adbf9b7324e7cb734e876cd311392c0880e890f7 (diff) | |
download | linux-fec149f5d3234c037ec761d1db4cc8c0550e9964.tar.gz linux-fec149f5d3234c037ec761d1db4cc8c0550e9964.tar.bz2 linux-fec149f5d3234c037ec761d1db4cc8c0550e9964.zip |
batman-adv: Convert packet.h to uapi header
The header file is used by different userspace programs to inject packets
or to decode sniffed packets. It should therefore be available to them as
userspace header.
Also other components in the kernel (like the flow dissector) require
access to the packet definitions to be able to decode ETH_P_BATMAN ethernet
packets.
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r-- | net/batman-adv/hard-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 13d04dba0b3a..5f186bff284a 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -38,6 +38,7 @@ #include <linux/spinlock.h> #include <net/net_namespace.h> #include <net/rtnetlink.h> +#include <uapi/linux/batadv_packet.h> #include "bat_v.h" #include "bridge_loop_avoidance.h" @@ -46,7 +47,6 @@ #include "gateway_client.h" #include "log.h" #include "originator.h" -#include "packet.h" #include "send.h" #include "soft-interface.h" #include "sysfs.h" |