From: Christian Brauner Date: Tue, 4 Sep 2018 19:53:48 +0000 (+0200) Subject: if_addr: add IFA_TARGET_NETNSID X-Git-Tag: v4.20-rc1~27^2~427^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f3c057c146fce335c160e95ca893d5bc34e7d00;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Jiri Benc Cc: Nicolas Dichtel Signed-off-by: David S. Miller --- diff --git a/include/uapi/linux/if_addr.h b/include/uapi/linux/if_addr.h index ebaf5701c9db9..dfcf3ce0097fd 100644 --- a/include/uapi/linux/if_addr.h +++ b/include/uapi/linux/if_addr.h @@ -34,6 +34,7 @@ enum { IFA_MULTICAST, IFA_FLAGS, IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */ + IFA_TARGET_NETNSID, __IFA_MAX, };