[v2,1/2] batctl: update packet.h to match batman-adv
Commit Message
Changes from
https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012961.html
ported to batctl.
Signed-off-by: Alex Suykov <alex.suykov at gmail.com>
---
packet.h | 3 +++
1 file changed, 3 insertions(+)
Comments
On Monday 06 April 2015 17:28:48 Alex Suykov wrote:
> Changes from
> https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012961.html
> ported to batctl.
>
> Signed-off-by: Alex Suykov <alex.suykov at gmail.com>
I think we should wait with this one until the actual patch is in batman-adv.
Kind regards,
Sven
> ---
> packet.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/packet.h b/packet.h
> index b81fbbf..7a9cb7a 100644
> --- a/packet.h
> +++ b/packet.h
> @@ -18,6 +18,9 @@
> #ifndef _NET_BATMAN_ADV_PACKET_H_
> #define _NET_BATMAN_ADV_PACKET_H_
>
> +#include <asm/byteorder.h>
> +#include <linux/types.h>
> +
> /**
> * enum batadv_packettype - types for batman-adv encapsulated packets
> * @BATADV_IV_OGM: originator messages for B.A.T.M.A.N. IV
@@ -18,6 +18,9 @@
#ifndef _NET_BATMAN_ADV_PACKET_H_
#define _NET_BATMAN_ADV_PACKET_H_
+#include <asm/byteorder.h>
+#include <linux/types.h>
+
/**
* enum batadv_packettype - types for batman-adv encapsulated packets
* @BATADV_IV_OGM: originator messages for B.A.T.M.A.N. IV