libvirt/src/nwfilter
Martin Kletzander 573c41a275 util: Add virSocketAddrSetIPv[46]AddrNetOrder and use it
This allows setting the address in host and/or network order and makes
the naming consistent.  Now you don't need to call [hn]to[nh]l()
functions as that is taken care of by these functions.  Also, now
the *NetOrder take the address in network order, the other functions in
host order so the naming and usage is consistent.  Some places were
having the address in network order and calling ntohl() just so the
original function can call htonl() again.  This makes it nicer to read.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2016-03-21 11:28:33 +01:00
..
nwfilter_dhcpsnoop.c util: Add virSocketAddrSetIPv[46]AddrNetOrder and use it 2016-03-21 11:28:33 +01:00
nwfilter_dhcpsnoop.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_driver.c nwfilter: Partly initialize driver even for non-privileged users 2015-04-17 10:04:05 +02:00
nwfilter_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ebiptables_driver.c nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilter_ebiptables_driver.h Convert nwfilter ebiptablesApplyNewRules to virFirewall 2014-04-25 15:44:10 +01:00
nwfilter_gentech_driver.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
nwfilter_gentech_driver.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_learnipaddr.c Remove new lines from log messages 2015-11-04 13:09:35 +01:00
nwfilter_learnipaddr.h Force usage of virThreadCreate 2015-03-25 10:00:53 +01:00
nwfilter_tech_driver.h Merge nwfilter createRuleInstance driver into applyNewRules 2014-04-25 15:44:09 +01:00