Searched refs:vxlan_addr (Results 1 – 2 of 2) sorted by relevance
/drivers/net/vxlan/ |
D | vxlan_core.c | 100 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal() 110 static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla) in vxlan_nla_get_addr() 126 const union vxlan_addr *ip) in vxlan_nla_put_addr() 137 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal() 142 static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla) in vxlan_nla_get_addr() 156 const union vxlan_addr *ip) in vxlan_nla_put_addr() 454 static void vxlan_ip_miss(struct net_device *dev, union vxlan_addr *ipa) in vxlan_ip_miss() 552 union vxlan_addr *ip, __be16 port, in vxlan_fdb_find_rdst() 677 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_replace() 702 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_append() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 2329 mlxsw_sp_switchdev_vxlan_addr_convert(const union vxlan_addr *vxlan_addr, in mlxsw_sp_switchdev_vxlan_addr_convert() argument 2333 if (vxlan_addr->sa.sa_family == AF_INET) { in mlxsw_sp_switchdev_vxlan_addr_convert() 2334 addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; in mlxsw_sp_switchdev_vxlan_addr_convert() 2337 addr->addr6 = vxlan_addr->sin6.sin6_addr; in mlxsw_sp_switchdev_vxlan_addr_convert() 2345 union vxlan_addr *vxlan_addr) in mlxsw_sp_switchdev_addr_vxlan_convert() argument 2349 vxlan_addr->sa.sa_family = AF_INET; in mlxsw_sp_switchdev_addr_vxlan_convert() 2350 vxlan_addr->sin.sin_addr.s_addr = addr->addr4; in mlxsw_sp_switchdev_addr_vxlan_convert() 2353 vxlan_addr->sa.sa_family = AF_INET6; in mlxsw_sp_switchdev_addr_vxlan_convert() 2354 vxlan_addr->sin6.sin6_addr = addr->addr6; in mlxsw_sp_switchdev_addr_vxlan_convert()
|