Home
last modified time | relevance | path

Searched refs:vxlan_addr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/vxlan/
Dvxlan_private.h78 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal()
88 static inline int vxlan_nla_get_addr(union vxlan_addr *ip, in vxlan_nla_get_addr()
105 const union vxlan_addr *ip) in vxlan_nla_put_addr()
113 static inline bool vxlan_addr_is_multicast(const union vxlan_addr *ip) in vxlan_addr_is_multicast()
124 bool vxlan_addr_equal(const union vxlan_addr *a, const union vxlan_addr *b) in vxlan_addr_equal()
129 static inline int vxlan_nla_get_addr(union vxlan_addr *ip, in vxlan_nla_get_addr()
144 const union vxlan_addr *ip) in vxlan_nla_put_addr()
149 static inline bool vxlan_addr_is_multicast(const union vxlan_addr *ip) in vxlan_addr_is_multicast()
156 static inline size_t vxlan_addr_size(const union vxlan_addr *ip) in vxlan_addr_size()
179 const u8 *mac, union vxlan_addr *ip,
[all …]
Dvxlan_multicast.c17 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()
Dvxlan_vnifilter.c476 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()
724 u32 vni, union vxlan_addr *group, in vxlan_vni_add()
815 __u32 end_vni, union vxlan_addr *group, in vxlan_vni_add_del()
[all …]
Dvxlan_mdb.c19 union vxlan_addr src;
20 union vxlan_addr dst;
48 union vxlan_addr addr;
59 union vxlan_addr addr;
67 union vxlan_addr remote_ip;
94 const union vxlan_addr *dst = &mdb_entry->key.dst; in vxlan_br_mdb_entry_fill()
666 const union vxlan_addr *addr) in vxlan_mdb_remote_lookup()
746 const union vxlan_addr *addr) in vxlan_mdb_remote_src_entry_lookup()
760 const union vxlan_addr *addr) in vxlan_mdb_remote_src_entry_add()
783 const union vxlan_addr *addr, in vxlan_mdb_remote_src_fwd_add()
[all …]
Dvxlan_core.c348 static void vxlan_ip_miss(struct net_device *dev, union vxlan_addr *ipa) in vxlan_ip_miss()
446 union vxlan_addr *ip, __be16 port, in vxlan_fdb_find_rdst()
571 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_replace()
596 union vxlan_addr *ip, __be16 port, __be32 vni, in vxlan_fdb_append()
886 const u8 *mac, union vxlan_addr *ip, in vxlan_fdb_create()
979 union vxlan_addr *ip, in vxlan_fdb_update_existing()
1079 const u8 *mac, union vxlan_addr *ip, in vxlan_fdb_update_create()
1116 const u8 *mac, union vxlan_addr *ip, in vxlan_fdb_update()
1156 union vxlan_addr *ip, __be16 *port, __be32 *src_vni, in vxlan_fdb_parse()
1176 union vxlan_addr *remote = &vxlan->default_dst.remote_ip; in vxlan_fdb_parse()
[all …]
/linux-6.6.21/include/net/
Dvxlan.h194 union vxlan_addr { union
201 union vxlan_addr remote_ip;
213 union vxlan_addr remote_ip;
214 union vxlan_addr saddr;
269 union vxlan_addr remote_ip; /* default remote ip for this vni */
450 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any()
458 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast()
468 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any()
473 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast()
488 union vxlan_addr remote_ip;
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c2967 mlxsw_sp_switchdev_vxlan_addr_convert(const union vxlan_addr *vxlan_addr, in mlxsw_sp_switchdev_vxlan_addr_convert() argument
2971 if (vxlan_addr->sa.sa_family == AF_INET) { in mlxsw_sp_switchdev_vxlan_addr_convert()
2972 addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; in mlxsw_sp_switchdev_vxlan_addr_convert()
2975 addr->addr6 = vxlan_addr->sin6.sin6_addr; in mlxsw_sp_switchdev_vxlan_addr_convert()
2983 union vxlan_addr *vxlan_addr) in mlxsw_sp_switchdev_addr_vxlan_convert() argument
2987 vxlan_addr->sa.sa_family = AF_INET; in mlxsw_sp_switchdev_addr_vxlan_convert()
2988 vxlan_addr->sin.sin_addr.s_addr = addr->addr4; in mlxsw_sp_switchdev_addr_vxlan_convert()
2991 vxlan_addr->sa.sa_family = AF_INET6; in mlxsw_sp_switchdev_addr_vxlan_convert()
2992 vxlan_addr->sin6.sin6_addr = addr->addr6; in mlxsw_sp_switchdev_addr_vxlan_convert()