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
nwfilter_driver.c nwfilter: Partly initialize driver even for non-privileged users 2015-04-17 10:04:05 +02:00
nwfilter_driver.h
nwfilter_ebiptables_driver.c
nwfilter_ebiptables_driver.h
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
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