[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131004105549.36184810@nehalam.linuxnetplumber.net>
Date: Fri, 4 Oct 2013 10:55:49 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Masatake YAMATO <yamato@...hat.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] veth: Showing peer of veth type dev in ip link (kernel
side)
On Fri, 4 Oct 2013 13:05:29 +0900
Masatake YAMATO <yamato@...hat.com> wrote:
> ip link has ability to show extra information of net work device if
> kernel provides sunh information. With this patch veth driver can
> provide its peer ifindex information to ip command via netlink
> interface.
>
> Signed-off-by: Masatake YAMATO <yamato@...hat.com>
> ---
netlink API's are supposed to be symmetrical.
When creating veth, the VETH_INFO_PEER attribute is struct(ifinfomsg).
The fill_info should tack on the same data.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists