]> git.proxmox.com Git - mirror_iproute2.git/commit - include/utils.h
iproute: Make it possible to specify index on link creation
authorPavel Emelyanov <xemul@parallels.com>
Thu, 26 Dec 2013 19:15:20 +0000 (23:15 +0400)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 28 Dec 2013 19:24:11 +0000 (11:24 -0800)
commit5e25cf77b9e7d9ae9959db0ac5d731cfbf3b2717
treeaabb3e01e9b173089230930fc2694abb82040cf1
parentf24a7e720592aa8f267a66b8d80f5617f4c1df61
iproute: Make it possible to specify index on link creation

The RTM_NEWLINK message accepts ifi_index non-zero value and lets
creation of links with given index (if it's free, or course). This
functionality is available since linux-v3.5.

This patch makes this API available via ip tool.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
include/utils.h
ip/iplink.c
ip/link_veth.c