Home
last modified time | relevance | path

Searched refs:rdst (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dvxlan.h496 struct vxlan_rdst *rdst) in vxlan_fdb_nh_path_select() argument
506 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()
507 rdst->remote_ip.sa.sa_family = AF_INET; in vxlan_fdb_nh_path_select()
510 rdst->remote_ip.sin6.sin6_addr = nhc->nhc_gw.ipv6; in vxlan_fdb_nh_path_select()
511 rdst->remote_ip.sa.sa_family = AF_INET6; in vxlan_fdb_nh_path_select()
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c259 const struct vxlan_rdst *rdst) in vxlan_fdb_info() argument
288 if (rdst) { in vxlan_fdb_info()
289 send_ip = !vxlan_addr_any(&rdst->remote_ip); in vxlan_fdb_info()
290 ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; in vxlan_fdb_info()
300 if (rdst && rdst->offloaded) in vxlan_fdb_info()
314 } else if (rdst) { in vxlan_fdb_info()
316 &rdst->remote_ip)) in vxlan_fdb_info()
319 if (rdst->remote_port && in vxlan_fdb_info()
320 rdst->remote_port != vxlan->cfg.dst_port && in vxlan_fdb_info()
321 nla_put_be16(skb, NDA_PORT, rdst->remote_port)) in vxlan_fdb_info()
[all …]