]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: move code for IP address map into separate file
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 1 Jun 2012 23:32:06 +0000 (19:32 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 1 Jun 2012 23:32:06 +0000 (19:32 -0400)
commit797b47580a5c5de1cc32e061e9be38ff6c834928
treefd4d32865f874a70d1db5143978b2f439ff4e6f7
parentcec281fcaace7e23c51a2da4659623afe7fd9ebb
nwfilter: move code for IP address map into separate file

The goal of this patch is to prepare for support for multiple IP
addresses per interface in the DHCP snooping code.

Move the code for the IP address map that maps interface names to
IP addresses into their own file. Rename the functions on the way
but otherwise leave the code as-is. Initialize this new layer
separately before dependent layers (iplearning, dhcpsnooping)
and shut it down after them.
src/Makefile.am
src/conf/nwfilter_ipaddrmap.c [new file with mode: 0644]
src/conf/nwfilter_ipaddrmap.h [new file with mode: 0644]
src/libvirt_private.syms
src/nwfilter/nwfilter_driver.c
src/nwfilter/nwfilter_gentech_driver.c
src/nwfilter/nwfilter_learnipaddr.c
src/nwfilter/nwfilter_learnipaddr.h