aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2018-11-26 15:42:04 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-27 16:20:20 -0800
commitcff478b9d9ccaee0de0e02700c63addf007b5d3c (patch)
tree46a092a1086d179fa5ef72cbc56901ee68419567 /include
parentnetns: introduce 'struct net_fill_args' (diff)
downloadlinux-dev-cff478b9d9ccaee0de0e02700c63addf007b5d3c.tar.xz
linux-dev-cff478b9d9ccaee0de0e02700c63addf007b5d3c.zip
netns: add support of NETNSA_TARGET_NSID
Like it was done for link and address, add the ability to perform get/dump in another netns by specifying a target nsid attribute. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/net_namespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/net_namespace.h b/include/uapi/linux/net_namespace.h
index 0187c74d8889..0ed9dd61d32a 100644
--- a/include/uapi/linux/net_namespace.h
+++ b/include/uapi/linux/net_namespace.h
@@ -16,6 +16,7 @@ enum {
NETNSA_NSID,
NETNSA_PID,
NETNSA_FD,
+ NETNSA_TARGET_NSID,
__NETNSA_MAX,
};