lkml.org 
[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next 2/5] if_addr: add IFA_IF_NETNSID
    Date
    This adds a new IFA_IF_NETNSID property to be used by address families such
    as PF_INET and PF_INET6.
    The IFA_IF_NETNSID property can be used to send a network namespace
    identifier as part of a request. If a IFA_IF_NETNSID property is identified
    it will be used to retrieve the target network namespace in which the
    request is to be made.

    Signed-off-by: Christian Brauner <christian@brauner.io>
    ---
    include/uapi/linux/if_addr.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/include/uapi/linux/if_addr.h b/include/uapi/linux/if_addr.h
    index ebaf5701c9db..0e0cd588cac0 100644
    --- a/include/uapi/linux/if_addr.h
    +++ b/include/uapi/linux/if_addr.h
    @@ -34,6 +34,7 @@ enum {
    IFA_MULTICAST,
    IFA_FLAGS,
    IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */
    + IFA_IF_NETNSID,
    __IFA_MAX,
    };

    --
    2.17.1
    \
     
     \ /
      Last update: 2018-08-29 01:21    [W:2.585 / U:0.864 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site