vxlan: Move address helpers to private headers
authorIdo Schimmel <idosch@nvidia.com>
Wed, 15 Mar 2023 13:11:49 +0000 (15:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:05:49 +0000 (08:05 +0000)
commitf307c8bf37a346ed3e8b6090b64b4ca8d61e1bcd
tree19b2bba67df390dd99d38a21fa3643c26e462ff9
parentda654c80a0ebba2e2a0614e017c9bbe57f643fe2
vxlan: Move address helpers to private headers

Move the helpers out of the core C file to the private header so that
they could be used by the upcoming MDB code.

While at it, constify the second argument of vxlan_nla_get_addr().

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c
drivers/net/vxlan/vxlan_private.h