vxlan: Export address checking functions
authorIdo Schimmel <idosch@mellanox.com>
Wed, 17 Oct 2018 08:53:10 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 00:45:07 +0000 (17:45 -0700)
commitcca45e054ce55c06046a37bf4d3fd7c17edd57da
tree613005c07e9fbaac55946ebc6063024c5dc1bc52
parent88782f75f93f62928c26d7e7e5c1649f85dd1469
vxlan: Export address checking functions

Drivers that support VxLAN offload need to be able to sanitize the
configuration of the VxLAN device and accept / reject its offload.

For example, mlxsw requires that the local IP of the VxLAN device be set
and that packets be flooded to unicast IP(s) and not to a multicast
group.

Expose the functions that perform such checks.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h