Searched refs:vxlan_addr (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/vxlan/ |
D | vxlan_private.h | 78 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal() 91 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal() 113 const u8 *mac, union vxlan_addr *ip, 119 const unsigned char *addr, union vxlan_addr ip, 125 const u8 *mac, union vxlan_addr *ip, 148 union vxlan_addr *old_remote_ip, 149 union vxlan_addr *new_remote_ip, 157 __be32 vni, union vxlan_addr *rip, int rifindex); 158 int vxlan_igmp_join(struct vxlan_dev *vxlan, union vxlan_addr *rip, 160 int vxlan_igmp_leave(struct vxlan_dev *vxlan, union vxlan_addr *rip,
|
D | vxlan_multicast.c | 17 int vxlan_igmp_join(struct vxlan_dev *vxlan, union vxlan_addr *rip, in vxlan_igmp_join() 20 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_join() 51 int vxlan_igmp_leave(struct vxlan_dev *vxlan, union vxlan_addr *rip, in vxlan_igmp_leave() 54 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_leave() 85 static bool vxlan_group_used_match(union vxlan_addr *ip, int ifindex, in vxlan_group_used_match() 86 union vxlan_addr *rip, int rifindex) in vxlan_group_used_match() 101 union vxlan_addr *ip, int ifindex) in vxlan_group_used_by_vnifilter() 126 __be32 vni, union vxlan_addr *rip, int rifindex) in vxlan_group_used() 128 union vxlan_addr *ip = (rip ? : &dev->default_dst.remote_ip); in vxlan_group_used()
|
D | vxlan_vnifilter.c | 476 union vxlan_addr *old_remote_ip, in vxlan_update_default_fdb_entry() 477 union vxlan_addr *remote_ip, in vxlan_update_default_fdb_entry() 517 union vxlan_addr *group, in vxlan_vni_update_group() 523 union vxlan_addr *newrip = NULL, *oldrip = NULL; in vxlan_vni_update_group() 524 union vxlan_addr old_remote_ip; in vxlan_vni_update_group() 588 union vxlan_addr *old_remote_ip, in vxlan_vnilist_update_group() 589 union vxlan_addr *new_remote_ip, in vxlan_vnilist_update_group() 646 __be32 vni, union vxlan_addr *group, in vxlan_vni_update() 718 u32 vni, union vxlan_addr *group, in vxlan_vni_add() 810 __u32 end_vni, union vxlan_addr *group, in vxlan_vni_add_del() [all …]
|
D | vxlan_core.c | 75 static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla) in vxlan_nla_get_addr() 91 const union vxlan_addr *ip) in vxlan_nla_put_addr() 101 static int vxlan_nla_get_addr(union vxlan_addr *ip, struct nlattr *nla) in vxlan_nla_get_addr() 115 const union vxlan_addr *ip) in vxlan_nla_put_addr() 395 static void vxlan_ip_miss(struct net_device *dev, union vxlan_addr *ipa) in vxlan_ip_miss() 493 union vxlan_addr *ip, __be16 port, in vxlan_fdb_find_rdst() 618 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_replace() 643 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_append() 861 const u8 *mac, union vxlan_addr *ip, in vxlan_fdb_create() 954 union vxlan_addr *ip, in vxlan_fdb_update_existing() [all …]
|
/linux-5.19.10/include/net/ |
D | vxlan.h | 193 union vxlan_addr { union 200 union vxlan_addr remote_ip; 212 union vxlan_addr remote_ip; 213 union vxlan_addr saddr; 268 union vxlan_addr remote_ip; /* default remote ip for this vni */ 437 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 445 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast() 455 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 460 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast() 475 union vxlan_addr remote_ip;
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 2551 mlxsw_sp_switchdev_vxlan_addr_convert(const union vxlan_addr *vxlan_addr, in mlxsw_sp_switchdev_vxlan_addr_convert() argument 2555 if (vxlan_addr->sa.sa_family == AF_INET) { in mlxsw_sp_switchdev_vxlan_addr_convert() 2556 addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; in mlxsw_sp_switchdev_vxlan_addr_convert() 2559 addr->addr6 = vxlan_addr->sin6.sin6_addr; in mlxsw_sp_switchdev_vxlan_addr_convert() 2567 union vxlan_addr *vxlan_addr) in mlxsw_sp_switchdev_addr_vxlan_convert() argument 2571 vxlan_addr->sa.sa_family = AF_INET; in mlxsw_sp_switchdev_addr_vxlan_convert() 2572 vxlan_addr->sin.sin_addr.s_addr = addr->addr4; in mlxsw_sp_switchdev_addr_vxlan_convert() 2575 vxlan_addr->sa.sa_family = AF_INET6; in mlxsw_sp_switchdev_addr_vxlan_convert() 2576 vxlan_addr->sin6.sin6_addr = addr->addr6; in mlxsw_sp_switchdev_addr_vxlan_convert()
|