]> git.ipfire.org Git - thirdparty/libvirt.git/commit
macvtap: convert send / recv function to use libnl
authorStefan Berger <stefanb@us.ibm.com>
Mon, 15 Nov 2010 18:58:55 +0000 (13:58 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Mon, 15 Nov 2010 18:58:55 +0000 (13:58 -0500)
commit1fa88772e91777ff52c83c287ec76dea84f5dc69
tree50f4b3b24f8637ebb82cd16ea9f27095d58729af
parent9e3eaaf15d087e49824ef7813fda004ce349b1a5
macvtap: convert send / recv function to use libnl

In a second step I am converting the netlink send/receive functions to
use libnl.

I tested this with 802.1Qbg profiles and my test server and did not see
a regression.

Caveat: The online documentation of libnl talks about nl_socket_alloc()
but the header file provides nl_handle_alloc() -- this could be a hint
to a possible problem between libnl versions...

http://www.infradead.org/~tgr/libnl/doc/group__socket.html

versus

http://libnl.sourcearchive.com/documentation/1.1/group__socket_gf903c9ea089735b1ba8e40dae801c47d.html
src/util/macvtap.c