History

rtnl: add link netns id to interface messages

This patch adds a new attribute (IFLA_LINK_NETNSID) which contains the 'link' netns id when this netns is different from the netns where the interface stands (for example for x-net interfaces like ip tunnels). With this attribute, it's possible to interpret correctly all advertised information (like IFLA_LINK, etc.).

Nicolas Dichtel committed 11 years ago

Commit d37512a1 parent 0c7aecd3 files · +16 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -146,6 +146,7 @@ enum { · 145 unmodified lines
146146 IFLA_PHYS_PORT_ID,
147147 IFLA_CARRIER_CHANGES,
148148 IFLA_PHYS_SWITCH_ID,
149+ IFLA_LINK_NETNSID,
149150 __IFLA_MAX
150151 };
151152