On Fri, Sep 30, 2016 at 10:08 AM, Jiri Benc <jb...@redhat.com> wrote:
> This will be also used by openvswitch.
>
> Signed-off-by: Jiri Benc <jb...@redhat.com>
> ---
> v2: new in v2
> ---
> include/net/mpls.h | 9 +++++++++
> net/mpls/internal.h | 10 +---------
> 2 files changed, 10 insertions(+), 9 deletions(-)
>
> diff --git a/include/net/mpls.h b/include/net/mpls.h
> index 5b3b5addfb08..3ebbc0bb57ff 100644
> --- a/include/net/mpls.h
> +++ b/include/net/mpls.h
> @@ -19,12 +19,21 @@
>
> #define MPLS_HLEN 4
>
> +struct mpls_shim_hdr {
> + __be32 label_stack_entry;
> +};
> +
There is already struct mpls_label defined in uapi mpls header file.
Is there reason for not using it here?