]> xenbits.xensource.com Git - libvirt.git/commit
Enable detection of multiple IP addresses
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 23 Nov 2011 00:05:45 +0000 (19:05 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 23 Nov 2011 00:05:45 +0000 (19:05 -0500)
commitad6c67cf8581561bc9d305c0342a264f7107cbd7
tree318274a40090897a0b2629da3c0f4975939b8249
parent5c5e07b84c99c10c5b1fd50ec3b1cdf88e024b1d
Enable detection of multiple IP addresses

In preparation of DHCP Snooping and the detection of multiple IP
addresses per interface:

The hash table that is used to collect the detected IP address of an
interface can so far only handle one IP address per interface. With
this patch we extend this to allow it to handle a list of IP addresses.

Above changes the returned variable type of virNWFilterGetIpAddrForIfname()
from char * to virNWFilterVarValuePtr; adapt all existing functions calling
this function.
src/conf/nwfilter_params.c
src/conf/nwfilter_params.h
src/libvirt_private.syms
src/nwfilter/nwfilter_gentech_driver.c
src/nwfilter/nwfilter_gentech_driver.h
src/nwfilter/nwfilter_learnipaddr.c
src/nwfilter/nwfilter_learnipaddr.h