[libvirt] [libvirt PATCHv4 0/2] DHCP Snooping support for libvirt

David L Stevens dlstevens at us.ibm.com
Mon Oct 24 23:12:21 UTC 2011


These patches add DHCP snooping support to libvirt. The learning method for
IP addresses is specified by setting the "ip_learning" variable to one of
"any" [default] (existing IP learning code), "none" (static only addresses)
or "dhcp" (DHCP snooping).

Differences from v3: removed support for multiple IP addresses. This version,
like this existing code, allows only one IP address per interface.

David L Stevens (2):
  add DHCP snooping
  add leasefile support

 examples/xml/nwfilter/no-ip-spoofing.xml |    5 +
 src/Makefile.am                          |    2 +
 src/nwfilter/nwfilter_dhcpsnoop.c        | 1005 ++++++++++++++++++++++++++++++
 src/nwfilter/nwfilter_dhcpsnoop.h        |   38 ++
 src/nwfilter/nwfilter_driver.c           |    5 +
 src/nwfilter/nwfilter_gentech_driver.c   |   51 ++-
 6 files changed, 1093 insertions(+), 13 deletions(-)
 create mode 100644 src/nwfilter/nwfilter_dhcpsnoop.c
 create mode 100644 src/nwfilter/nwfilter_dhcpsnoop.h

-- 
1.7.6.4




More information about the libvir-list mailing list