diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2018-11-26 17:42:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-28 03:20:20 +0300 |
commit | cff478b9d9ccaee0de0e02700c63addf007b5d3c (patch) | |
tree | 46a092a1086d179fa5ef72cbc56901ee68419567 /include/uapi/linux/net_namespace.h | |
parent | a0732ad14d40ee7562c8c6e04b01af6134c82831 (diff) | |
download | linux-cff478b9d9ccaee0de0e02700c63addf007b5d3c.tar.xz |
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/uapi/linux/net_namespace.h')
-rw-r--r-- | include/uapi/linux/net_namespace.h | 1 |
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, }; |