Skip to content

Commit 9f3c057

Browse files
braunerdavem330
authored andcommitted
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 <[email protected]> Cc: Jiri Benc <[email protected]> Cc: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c383edc commit 9f3c057

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/if_addr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ enum {
3434
IFA_MULTICAST,
3535
IFA_FLAGS,
3636
IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */
37+
IFA_TARGET_NETNSID,
3738
__IFA_MAX,
3839
};
3940

0 commit comments

Comments
 (0)