Like it was done for link and address, add the ability to perform get/dump in another netns by specifying a target nsid attribute.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -16,6 +16,7 @@ enum { · 15 unmodified lines | |||
| 16 | NETNSA_NSID, | 16 | NETNSA_NSID, |
| 17 | NETNSA_PID, | 17 | NETNSA_PID, |
| 18 | NETNSA_FD, | 18 | NETNSA_FD, |
| 19 | NETNSA_TARGET_NSID, | ||
| 19 | __NETNSA_MAX, | 20 | __NETNSA_MAX, |
| 20 | }; | 21 | }; |
| 21 | 22 | ||