All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: "B.A.T.M.A.N" <b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv3] batctl: Use netlink to replace some of debugfs
Date: Tue, 3 May 2016 20:24:42 +0200	[thread overview]
Message-ID: <20160503182442.GA26706@lunn.ch> (raw)
In-Reply-To: <1462293026-24716-1-git-send-email-andrew@lunn.ch>

Hi Sven

> diff --git a/debug.c b/debug.c
> index 3db3ed9..c61970e 100644
> --- a/debug.c
> +++ b/debug.c
> @@ -23,10 +23,12 @@
>  #include <unistd.h>
>  #include <stdio.h>
>  #include <stdlib.h>
> +#include <errno.h>
>  
>  #include "debug.h"
>  #include "debugfs.h"
>  #include "functions.h"
> +#include "netlink.h"
>  #include "sys.h"

...

> diff --git a/functions.c b/functions.c
> index be8f8b0..27c14d6 100644
> --- a/functions.c
> +++ b/functions.c
> @@ -52,6 +52,7 @@
>  #include "sys.h"
>  #include "debug.h"
>  #include "debugfs.h"
> +#include "netlink.h"

...  
> diff --git a/netlink.c b/netlink.c
> new file mode 100644
> index 0000000..951b842
> --- /dev/null
> +++ b/netlink.c
> @@ -0,0 +1,1024 @@
> +#include <stdio.h>
> +#include <string.h>
> +#include <unistd.h>
> +#include <errno.h>
> +#include <net/if.h>
> +#include <netlink/netlink.h>
> +#include <netlink/genl/genl.h>
> +#include <netlink/genl/ctrl.h>
> +#include <netinet/in.h>
> +#include <arpa/inet.h>
> +
> +#include "bat-hosts.h"
> +#include "batman_adv.h"
> +#include "netlink.h"
> +#include "functions.h"
> +#include "main.h"

Where is netlink.h missing?

Thanks
	Andrew

  parent reply	other threads:[~2016-05-03 18:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 16:30 [B.A.T.M.A.N.] [PATCHv3] batctl: Use netlink to replace some of debugfs Andrew Lunn
2016-05-03 18:17 ` Sven Eckelmann
2016-05-03 18:24 ` Andrew Lunn [this message]
2016-05-04  7:06   ` Sven Eckelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160503182442.GA26706@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.