Stefan Berger
0e0f6021ce
Use libvirt's existing ipv6/ipv4 parser/printer rather than self-written ones
...
This patch changes the network filtering code to use libvirt's existing
IPv4 and IPv6 address parsers/printers rather than my self-written ones.
I am introducing a new function in network.c that counts the number of
bits in a netmask and ensures that the given address is indeed a netmask,
return -1 on error or values of 0-32 for IPv4 addresses and 0-128 for
IPv6 addresses. I then based the function checking for valid netmask
on invoking this function.
2010-03-30 11:18:04 -04:00
..
2010-03-16 20:15:32 +01:00
2010-03-16 20:15:32 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-02-19 18:32:23 +01:00
2010-03-09 19:22:28 +01:00
2010-03-22 09:42:14 -06:00
2010-03-09 19:22:28 +01:00
2010-03-24 21:03:37 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2009-09-21 14:41:47 +01:00
2010-03-09 19:22:28 +01:00
2010-02-01 09:39:54 -05:00
2010-03-09 19:22:28 +01:00
2010-03-29 18:21:04 +02:00
2010-03-29 18:21:04 +02:00
2010-03-08 13:32:27 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-12 11:36:05 +01:00
2010-03-09 19:22:28 +01:00
2009-09-21 14:41:47 +01:00
2010-03-09 19:22:28 +01:00
2010-03-30 11:18:04 -04:00
2010-03-30 11:18:04 -04:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-02-19 11:52:04 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-02-10 12:30:13 +01:00
2010-03-09 19:22:28 +01:00
2010-03-26 18:01:15 +00:00
2009-09-21 14:41:47 +01:00
2010-03-26 18:01:15 +00:00
2009-09-21 14:41:47 +01:00
2010-03-09 19:22:28 +01:00
2010-03-26 18:01:15 +00:00
2010-03-29 18:19:23 +02:00
2010-03-29 18:19:23 +02:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-09 19:22:28 +01:00
2010-03-29 18:21:04 +02:00
2010-03-23 15:40:04 +01:00
2010-03-23 15:40:04 +01:00