OSDN Git Service

if_addr: add IFA_TARGET_NETNSID
authorChristian Brauner <christian@brauner.io>
Tue, 4 Sep 2018 19:53:48 +0000 (21:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 05:27:11 +0000 (22:27 -0700)
commit9f3c057c146fce335c160e95ca893d5bc34e7d00
tree1c7f1eb426c811617176fbf42fc280d4125b65a5
parentc383edc42403b0bca31cbaabafd44dd58afb202f
if_addr: add IFA_TARGET_NETNSID

This adds a new IFA_TARGET_NETNSID property to be used by address
families such as PF_INET and PF_INET6.
The IFA_TARGET_NETNSID property can be used to send a network namespace
identifier as part of a request. If a IFA_TARGET_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>
Cc: Jiri Benc <jbenc@redhat.com>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_addr.h