datapath: Use netlink ipv4 API to handle the ipv4 addr attributes.
authorJiri Benc <jbenc@redhat.com>
Thu, 10 Sep 2015 13:15:32 +0000 (06:15 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 14 Sep 2015 17:44:57 +0000 (10:44 -0700)
commitdd693f9bf23ae1108d956c5d58a7036dcb636e19
tree93930ca10ca63522e36465a731e904edf9a4633f
parentc465f75fef7adcab0ac22a30be277a3e6ff9d857
datapath: Use netlink ipv4 API to handle the ipv4 addr attributes.

upstream: ("netlink: implement nla_put_in_addr and nla_put_in6_addr")
upstream: ("netlink: implement nla_get_in_addr and nla_get_in6_addr")
IP addresses are often stored in netlink attributes. Add generic functions
to do that.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
acinclude.m4
datapath/flow_netlink.c
datapath/linux/compat/include/net/netlink.h