[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170313081006.78b3af9d@xeon-e3>
Date: Mon, 13 Mar 2017 08:10:06 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH RFC iproute v1 1/4] afnetns: add iproute bits for
afnetns
On Mon, 13 Mar 2017 00:01:35 +0100
Hannes Frederic Sowa <hannes@...essinduktion.org> wrote:
> diff --git a/include/namespace.h b/include/namespace.h
> index 51324b21ba0cd5..acecc8c1f0d2b8 100644
> --- a/include/namespace.h
> +++ b/include/namespace.h
> @@ -7,6 +7,7 @@
> #include <sys/syscall.h>
> #include <errno.h>
>
> +#define AFNETNS_RUN_DIR "/var/run/afnetns"
> #define NETNS_RUN_DIR "/var/run/netns"
> #define NETNS_ETC_DIR "/etc/netns"
>
> @@ -14,6 +15,10 @@
> #define CLONE_NEWNET 0x40000000 /* New network namespace (lo, device, names sockets, etc) */
> #endif
>
> +#ifndef CLONE_NEWAFNET
> +#define CLONE_NEWAFNET 0x00001000 /* Clone new afnet context */
> +#endif
> +
These bits really need to come from a kernel exported header.
Powered by blists - more mailing lists