Home
last modified time | relevance | path

Searched refs:remote_ip (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/drivers/net/vxlan/
Dvxlan_multicast.c20 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_join()
54 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_leave()
107 &vxlan->default_dst.remote_ip, in vxlan_group_used_by_vnifilter()
112 if (!vxlan_addr_multicast(&v->remote_ip)) in vxlan_group_used_by_vnifilter()
116 &v->remote_ip, in vxlan_group_used_by_vnifilter()
128 union vxlan_addr *ip = (rip ? : &dev->default_dst.remote_ip); in vxlan_group_used()
135 unsigned short family = dev->default_dst.remote_ip.sa.sa_family; in vxlan_group_used()
168 &vxlan->default_dst.remote_ip, in vxlan_group_used()
186 if (!vxlan_addr_multicast(&v->remote_ip)) in vxlan_multicast_join_vnigrp()
189 if (vxlan_addr_equal(&v->remote_ip, in vxlan_multicast_join_vnigrp()
[all …]
Dvxlan_vnifilter.c273 if (!vxlan_addr_any(&vbegin->remote_ip)) { in vxlan_fill_vni_filter_entry()
274 if (vbegin->remote_ip.sa.sa_family == AF_INET) { in vxlan_fill_vni_filter_entry()
276 vbegin->remote_ip.sin.sin_addr.s_addr)) in vxlan_fill_vni_filter_entry()
281 &vbegin->remote_ip.sin6.sin6_addr)) in vxlan_fill_vni_filter_entry()
380 vxlan_addr_equal(&v->remote_ip, &vend->remote_ip)) { in vxlan_vnifilter_dump_dev()
477 union vxlan_addr *remote_ip, in vxlan_update_default_fdb_entry() argument
486 if (remote_ip && !vxlan_addr_any(remote_ip)) { in vxlan_update_default_fdb_entry()
488 remote_ip, in vxlan_update_default_fdb_entry()
527 memcpy(&old_remote_ip, &vninode->remote_ip, sizeof(old_remote_ip)); in vxlan_vni_update_group()
535 if (!vxlan_addr_any(&dst->remote_ip)) in vxlan_vni_update_group()
[all …]
Dvxlan_core.c183 send_ip = !vxlan_addr_any(&rdst->remote_ip); in vxlan_fdb_info()
184 ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; in vxlan_fdb_info()
210 &rdst->remote_ip)) in vxlan_fdb_info()
292 fdb_info->remote_ip = rd->remote_ip; in vxlan_fdb_switchdev_notifier_info()
355 .remote_ip = *ipa, /* goes to NDA_DST */ in vxlan_ip_miss()
452 if (vxlan_addr_equal(&rd->remote_ip, ip) && in vxlan_fdb_find_rdst()
586 rd->remote_ip = *ip; in vxlan_fdb_replace()
614 rd->remote_ip = *ip; in vxlan_fdb_append()
855 switch (vxlan->default_dst.remote_ip.sa.sa_family) { in vxlan_fdb_nh_update()
1176 union vxlan_addr *remote = &vxlan->default_dst.remote_ip; in vxlan_fdb_parse()
[all …]
Dvxlan_mdb.c67 union vxlan_addr remote_ip; member
180 vxlan_nla_put_addr(skb, MDBA_MDB_EATTR_DST, &rd->remote_ip)) in vxlan_mdb_entry_info_fill()
559 err = vxlan_nla_get_addr(&cfg->remote_ip, mdbe_attrs[MDBE_ATTR_DST]); in vxlan_mdb_config_attrs_init()
673 if (vxlan_addr_equal(addr, &rd->remote_ip)) in vxlan_mdb_remote_lookup()
702 rd->remote_ip = cfg->remote_ip; in vxlan_mdb_remote_rdst_init()
794 sg_cfg.remote_ip = cfg->remote_ip; in vxlan_mdb_remote_src_fwd_add()
822 sg_cfg.remote_ip = rd->remote_ip; in vxlan_mdb_remote_src_fwd_del()
957 nlmsg_size += nla_total_size(vxlan_addr_size(&rd->remote_ip)); in vxlan_mdb_nlmsg_size()
1112 remote = vxlan_mdb_remote_lookup(mdb_entry, &cfg->remote_ip); in vxlan_mdb_remote_add()
1251 remote = vxlan_mdb_remote_lookup(mdb_entry, &cfg->remote_ip); in __vxlan_mdb_del()
/Linux-v6.6/include/net/
Dvxlan.h201 union vxlan_addr remote_ip; member
213 union vxlan_addr remote_ip; member
269 union vxlan_addr remote_ip; /* default remote ip for this vni */ member
488 union vxlan_addr remote_ip; member
570 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()
571 rdst->remote_ip.sa.sa_family = AF_INET; in vxlan_fdb_nh_path_select()
574 rdst->remote_ip.sin6.sin6_addr = nhc->nhc_gw.ipv6; in vxlan_fdb_nh_path_select()
575 rdst->remote_ip.sa.sa_family = AF_INET6; in vxlan_fdb_nh_path_select()
Damt.h352 __be32 remote_ip; member
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dmirror_gre_changes.sh115 local remote_ip=$1; shift
128 ping -c 1 -I $swp3 $remote_ip &>/dev/null
163 local remote_ip=$1; shift
173 tunnel_create $tundev $type $local_ip $remote_ip \
/Linux-v6.6/net/core/
Dnetpoll.c439 &np->remote_ip.in6, in netpoll_send_udp()
459 ip6h->daddr = np->remote_ip.in6; in netpoll_send_udp()
467 np->remote_ip.ip, in netpoll_send_udp()
487 put_unaligned(np->remote_ip.ip, &(iph->daddr)); in netpoll_send_udp()
514 np_info(np, "remote IPv6 address %pI6c\n", &np->remote_ip.in6); in netpoll_print_options()
516 np_info(np, "remote IPv4 address %pI4\n", &np->remote_ip.ip); in netpoll_print_options()
598 ipv6 = netpoll_parse_ip_addr(cur, &np->remote_ip); in netpoll_parse_options()
757 !!(ipv6_addr_type(&np->remote_ip.in6) & IPV6_ADDR_LINKLOCAL)) in netpoll_setup()
/Linux-v6.6/include/linux/qed/
Dtcp_common.h79 __le32 remote_ip[4]; member
145 __le32 remote_ip[4]; member
Dqed_rdma_if.h481 u32 remote_ip[4]; member
/Linux-v6.6/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c56 raddr->sin_addr.s_addr = htonl(cm_info->remote_ip[0]); in qedr_fill_sockaddr4()
78 htonl(cm_info->remote_ip[i]); in qedr_fill_sockaddr6()
584 memset(cm_info->remote_ip, 0, sizeof(cm_info->remote_ip)); in qedr_iw_connect()
590 cm_info->remote_ip[0] = ntohl(raddr->sin_addr.s_addr); in qedr_iw_connect()
606 cm_info->remote_ip[i] = in qedr_iw_connect()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.c331 p_tcp->remote_ip[i] = cpu_to_le32(p_conn->remote_ip[i]); in qed_sp_nvmetcp_conn_offload()
335 p_tcp->remote_ip[0] = cpu_to_le32(p_conn->remote_ip[0]); in qed_sp_nvmetcp_conn_offload()
689 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_nvmetcp_offload_conn()
Dqed_nvmetcp.h60 u32 remote_ip[4]; member
Dqed_iscsi.c69 u32 remote_ip[4]; member
349 dval = p_conn->remote_ip[i]; in qed_sp_iscsi_conn_offload()
350 p_tcp->remote_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
421 dval = p_conn->remote_ip[i]; in qed_sp_iscsi_conn_offload()
422 p_tcp2->remote_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
1225 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_iscsi_offload_conn()
Dqed_iwarp.c592 p_tcp_ramrod->tcp.remote_ip, in qed_iwarp_print_tcp_ramrod()
600 p_tcp_ramrod->tcp.remote_ip, in qed_iwarp_print_tcp_ramrod()
696 tcp->remote_ip[i] = cpu_to_le32(ep->cm_info.remote_ip[i]); in qed_iwarp_tcp_offload()
1562 cm_info->remote_ip, cm_info->remote_port, in qed_iwarp_print_cm_info()
1568 cm_info->remote_ip, cm_info->remote_port, in qed_iwarp_print_cm_info()
1611 !memcmp(&ep->cm_info.remote_ip, cm_info->remote_ip, in qed_iwarp_ep_exists()
1612 sizeof(cm_info->remote_ip))) { in qed_iwarp_ep_exists()
1726 cm_info->remote_ip[0] = ntohl(iph->saddr); in qed_iwarp_parse_rx_pkt()
1744 cm_info->remote_ip[i] = in qed_iwarp_parse_rx_pkt()
/Linux-v6.6/drivers/net/
Dnetconsole.c324 return sysfs_emit(buf, "%pI6c\n", &nt->np.remote_ip.in6); in remote_ip_show()
326 return sysfs_emit(buf, "%pI4\n", &nt->np.remote_ip); in remote_ip_show()
586 if (in6_pton(buf, count, nt->np.remote_ip.in6.s6_addr, -1, &end) > 0) { in remote_ip_store()
596 nt->np.remote_ip.ip = in_aton(buf); in remote_ip_store()
640 CONFIGFS_ATTR(, remote_ip);
Damt.c722 amt->remote_ip, amt->local_ip, in amt_send_request()
763 udph->check = csum_tcpudp_magic(amt->local_ip, amt->remote_ip, in amt_send_request()
774 iph->daddr = amt->remote_ip; in amt_send_request()
963 amt->remote_ip = 0; in amt_event_send_request()
1019 fl4.daddr = amt->remote_ip; in amt_send_membership_update()
1025 netdev_dbg(amt->dev, "no route to %pI4\n", &amt->remote_ip); in amt_send_membership_update()
2270 amt->remote_ip = amta->ip4; in amt_advertisement_handler()
2271 netdev_dbg(amt->dev, "advertised remote ip = %pI4\n", &amt->remote_ip); in amt_advertisement_handler()
2805 if (iph->saddr != amt->remote_ip) { in amt_rcv()
2816 if (iph->saddr != amt->remote_ip) { in amt_rcv()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c815 u8 *remote_mac, *remote_ip; in mlx5_fpga_conn_create() local
842 remote_ip = MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, remote_ip); in mlx5_fpga_conn_create()
843 remote_ip[0] = 0xfe; in mlx5_fpga_conn_create()
844 remote_ip[1] = 0x80; in mlx5_fpga_conn_create()
845 addrconf_addr_eui48(&remote_ip[8], remote_mac); in mlx5_fpga_conn_create()
857 remote_ip, remote_mac, true, 0, in mlx5_fpga_conn_create()
/Linux-v6.6/include/linux/
Dnetpoll.h31 union inet_addr local_ip, remote_ip; member
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils.h162 u32 remote_ip; member
183 u32 remote_ip[4]; member
/Linux-v6.6/include/linux/mlx5/
Dmlx5_ifc_fpga.h222 u8 remote_ip[16][0x8]; member
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c255 const char *remote_ip, __u16 remote_port) in fill_sk_lookup_ctx() argument
278 err = inet_pton(ctx->family, remote_ip, remote); in fill_sk_lookup_ctx()
1084 const char *remote_ip, const char *local_ip) in run_sk_assign() argument
1098 if (fill_sk_lookup_ctx(&ctx, local_ip, EXT_PORT, remote_ip, INT_PORT)) in run_sk_assign()
/Linux-v6.6/Documentation/networking/
Dnetconsole.rst136 remote_ip Remote agent's IP address (read-write)
150 echo 10.0.0.4 > remote_ip # update some parameter
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c65 if (vxlan_addr_multicast(&cfg->remote_ip)) { in mlxsw_sp_nve_vxlan_can_offload()
Dspectrum_switchdev.c3009 mlxsw_sp_switchdev_addr_vxlan_convert(proto, addr, &info.remote_ip); in mlxsw_sp_fdb_vxlan_call_notifiers()
3404 mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info.remote_ip, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3564 mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info->remote_ip, in mlxsw_sp_switchdev_vxlan_fdb_add()
3636 mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info->remote_ip, in mlxsw_sp_switchdev_vxlan_fdb_del()
3724 if (vxlan_addr_multicast(&vxlan_fdb_info->remote_ip)) { in mlxsw_sp_switchdev_vxlan_work_prepare()

12