]> granicus.if.org Git - libnl/commit
add a parameter to rtnl_link_veth_add()
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 4 Dec 2013 04:16:08 +0000 (20:16 -0800)
committerThomas Graf <tgraf@suug.ch>
Mon, 9 Dec 2013 14:28:33 +0000 (15:28 +0100)
commitaa1c5628fd67631894b91bfb339a912a39a24994
tree71b61a97a6c79fdbfe8a1e56682f8b9a12c44aa7
parent8b87ae55161f402c07aa8464d8d6164d46aa84d5
add a parameter to rtnl_link_veth_add()

Usually the peer of a veth device is moved to a new netns
after creation, so add a pid parameter to rtnl_link_veth_add().

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/route/link/veth.h
lib/route/link/veth.c
tests/test-create-veth.c