Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 29) sorted by relevance

12

/net/tipc/
Dudp_media.c408 static int enable_mcast(struct udp_bearer *ub, struct udp_media_addr *remote) in enable_mcast() argument
414 if (ntohs(remote->proto) == ETH_P_IP) { in enable_mcast()
415 mreqn.imr_multiaddr = remote->ipv4; in enable_mcast()
422 &remote->ipv6); in enable_mcast()
669 struct udp_media_addr remote = {0}; in tipc_udp_enable() local
701 err = tipc_parse_udp_addr(opts[TIPC_NLA_UDP_REMOTE], &remote, NULL); in tipc_udp_enable()
705 if (remote.proto != local.proto) { in tipc_udp_enable()
711 rmcast = tipc_udp_is_mcast_addr(&remote); in tipc_udp_enable()
787 memcpy(&b->bcast_addr.value, &remote, sizeof(remote)); in tipc_udp_enable()
789 err = enable_mcast(ub, &remote); in tipc_udp_enable()
[all …]
Dbcast.c397 if (dests->remote) { in tipc_mcast_xmit()
398 tipc_bcast_select_xmit_method(net, dests->remote, method); in tipc_mcast_xmit()
743 nl->remote++; in tipc_nlist_add()
751 nl->remote--; in tipc_nlist_del()
757 nl->remote = 0; in tipc_nlist_purge()
Dbcast.h59 u16 remote; member
Dsocket.c867 if (!dsts.local && !dsts.remote) in tipc_sendmcast()
1108 if (!dsts->local && !dsts->remote) in tipc_send_group_bcast()
/net/mptcp/
Dpm_netlink.c418 struct mptcp_addr_info remote = { 0 }; in fill_remote_addresses_vec() local
423 remote_address((struct sock_common *)sk, &remote); in fill_remote_addresses_vec()
432 if (!mptcp_pm_addr_families_match(sk, local, &remote)) in fill_remote_addresses_vec()
436 addrs[i++] = remote; in fill_remote_addresses_vec()
646 struct mptcp_addr_info *remote, in fill_local_addresses_vec() argument
666 if (!mptcp_pm_addr_families_match(sk, &entry->addr, remote)) in fill_local_addresses_vec()
691 remote->family == AF_INET6 && in fill_local_addresses_vec()
692 ipv6_addr_v4mapped(&remote->addr6) ? AF_INET : in fill_local_addresses_vec()
694 remote->family; in fill_local_addresses_vec()
696 if (!mptcp_pm_addr_families_match(sk, &local, remote)) in fill_local_addresses_vec()
[all …]
Dpm.c35 msk->pm.remote = *addr; in mptcp_pm_announce_addr()
234 pm->remote = *addr; in mptcp_pm_add_addr_received()
348 port = !!(*echo ? msk->pm.remote.port : msk->pm.local.port); in mptcp_pm_add_addr_signal()
350 family = *echo ? msk->pm.remote.family : msk->pm.local.family; in mptcp_pm_add_addr_signal()
355 *addr = msk->pm.remote; in mptcp_pm_add_addr_signal()
Dpm_userspace.c420 const struct mptcp_addr_info *remote) in mptcp_nl_find_ssk() argument
424 if (local->family != remote->family) in mptcp_nl_find_ssk()
441 issk->inet_daddr != remote->addr.s_addr) in mptcp_nl_find_ssk()
449 !ipv6_addr_equal(&remote->addr6, &ssk->sk_v6_daddr)) in mptcp_nl_find_ssk()
459 issk->inet_dport == remote->port) in mptcp_nl_find_ssk()
Dprotocol.h216 struct mptcp_addr_info remote; member
659 const struct mptcp_addr_info *remote);
Dsubflow.c1536 const struct mptcp_addr_info *remote) in __mptcp_subflow_connect() argument
1541 int remote_id = remote->id; in __mptcp_subflow_connect()
1595 mptcp_info2sockaddr(remote, &addr, ssk->sk_family); in __mptcp_subflow_connect()
/net/atm/
Dproc.c213 seq_printf(seq, "%s%s", vcc->remote.sas_addr.pub, in svc_info()
214 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); in svc_info()
215 if (*vcc->remote.sas_addr.prv) { in svc_info()
219 seq_printf(seq, "%02x", vcc->remote.sas_addr.prv[i]); in svc_info()
Dsvc.c210 vcc->remote = *addr; in svc_connect()
212 sigd_enq(vcc, as_connect, NULL, NULL, &vcc->remote); in svc_connect()
382 new_vcc->remote = msg->svc; in svc_accept()
432 memcpy(addr, peer ? &ATM_SD(sock)->remote : &ATM_SD(sock)->local, in svc_getname()
673 ATM_SD(sock)->remote.sas_family = AF_ATMSVC; in svc_create()
Dclip.c776 svc_addr(seq, &clip_vcc->vcc->remote); in atmarp_info()
Dcommon.c158 memset(&vcc->remote, 0, sizeof(struct sockaddr_atmsvc)); in vcc_create()
/net/ipv4/
Dip_tunnel.c53 static unsigned int ip_tunnel_hash(__be32 key, __be32 remote) in ip_tunnel_hash() argument
55 return hash_32((__force u32)key ^ (__force u32)remote, in ip_tunnel_hash()
85 __be32 remote, __be32 local, in ip_tunnel_lookup() argument
93 hash = ip_tunnel_hash(key, remote); in ip_tunnel_lookup()
98 remote != t->parms.iph.daddr || in ip_tunnel_lookup()
112 if (remote != t->parms.iph.daddr || in ip_tunnel_lookup()
178 __be32 remote; in ip_bucket() local
182 remote = parms->iph.daddr; in ip_bucket()
184 remote = 0; in ip_bucket()
189 h = ip_tunnel_hash(i_key, remote); in ip_bucket()
[all …]
Dipmr.c896 v->remote = vifc->vifc_rmt_addr.s_addr; in vif_add()
1868 vif->remote, vif->local, in ipmr_queue_xmit()
1914 ip_encap(net, skb, vif->local, vif->remote); in ipmr_queue_xmit()
2795 nla_put_be32(skb, IPMRA_VIFA_REMOTE_ADDR, vif->remote)) { in ipmr_fill_vif()
2957 vif->flags, vif->local, vif->remote); in ipmr_vif_seq_show()
/net/ipv6/
Dip6_vti.c89 vti6_tnl_lookup(struct net *net, const struct in6_addr *remote, in vti6_tnl_lookup() argument
92 unsigned int hash = HASH(remote, local); in vti6_tnl_lookup()
99 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
112 hash = HASH(remote, &any); in vti6_tnl_lookup()
114 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
140 const struct in6_addr *remote = &p->raddr; in vti6_tnl_bucket() local
145 if (!ipv6_addr_any(remote) || !ipv6_addr_any(local)) { in vti6_tnl_bucket()
147 h = HASH(remote, local); in vti6_tnl_bucket()
258 const struct in6_addr *remote = &p->raddr; in vti6_locate() local
268 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
Dsit.c98 __be32 remote, __be32 local, in ipip6_tunnel_lookup() argument
101 unsigned int h0 = HASH(remote); in ipip6_tunnel_lookup()
109 remote == t->parms.iph.daddr && in ipip6_tunnel_lookup()
116 if (remote == t->parms.iph.daddr && in ipip6_tunnel_lookup()
138 __be32 remote = parms->iph.daddr; in __ipip6_bucket() local
143 if (remote) { in __ipip6_bucket()
145 h ^= HASH(remote); in __ipip6_bucket()
231 __be32 remote = parms->iph.daddr; in ipip6_tunnel_locate() local
243 remote == t->parms.iph.daddr && in ipip6_tunnel_locate()
Dip6_tunnel.c115 const struct in6_addr *remote, const struct in6_addr *local) in ip6_tnl_lookup() argument
117 unsigned int hash = HASH(remote, local); in ip6_tnl_lookup()
124 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
148 hash = HASH(remote, &any); in ip6_tnl_lookup()
150 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
190 const struct in6_addr *remote = &p->raddr; in ip6_tnl_bucket() local
195 if (!ipv6_addr_any(remote) || !ipv6_addr_any(local)) { in ip6_tnl_bucket()
197 h = HASH(remote, local); in ip6_tnl_bucket()
341 const struct in6_addr *remote = &p->raddr; in ip6_tnl_locate() local
351 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6_tnl_locate()
Dip6_gre.c116 const struct in6_addr *remote, const struct in6_addr *local, in ip6gre_tunnel_lookup() argument
121 unsigned int h0 = HASH_ADDR(remote); in ip6gre_tunnel_lookup()
134 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
158 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
252 const struct in6_addr *remote = &p->raddr; in __ip6gre_bucket() local
259 if (!ipv6_addr_any(remote) && !ipv6_addr_is_multicast(remote)) { in __ip6gre_bucket()
261 h ^= HASH_ADDR(remote); in __ip6gre_bucket()
325 const struct in6_addr *remote = &parms->raddr; in ip6gre_tunnel_find() local
337 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6gre_tunnel_find()
/net/qrtr/
Daf_qrtr.c1005 struct sockaddr_qrtr remote = { AF_QIPCRTR, cb->src_node, cb->src_port }; in qrtr_send_resume_tx() local
1012 node = qrtr_node_lookup(remote.sq_node); in qrtr_send_resume_tx()
1024 ret = qrtr_node_enqueue(node, skb, QRTR_TYPE_RESUME_TX, &local, &remote); in qrtr_send_resume_tx()
/net/xfrm/
Dxfrm_policy.c2428 xfrm_address_t *remote, unsigned short family, u32 mark) in xfrm_get_saddr() argument
2435 err = afinfo->get_saddr(net, oif, local, remote, mark); in xfrm_get_saddr()
2455 xfrm_address_t *remote = daddr; in xfrm_tmpl_resolve_one() local
2461 remote = &tmpl->id.daddr; in xfrm_tmpl_resolve_one()
2465 &tmp, remote, in xfrm_tmpl_resolve_one()
2473 x = xfrm_state_find(remote, local, fl, tmpl, policy, &error, in xfrm_tmpl_resolve_one()
2478 daddr = remote; in xfrm_tmpl_resolve_one()
Dxfrm_user.c2782 memcpy(&k->remote, &uk->remote, sizeof(k->remote)); in copy_from_user_migrate()
2896 memcpy(&uk.remote, &k->remote, sizeof(uk.remote)); in copy_to_user_kmaddress()
/net/bluetooth/
Dsmp.c2708 struct smp_cmd_pairing *local, *remote; in sc_select_method() local
2722 remote = (void *) &smp->prsp[1]; in sc_select_method()
2725 remote = (void *) &smp->preq[1]; in sc_select_method()
2729 remote_io = remote->io_capability; in sc_select_method()
2732 remote_mitm = (remote->auth_req & SMP_AUTH_MITM); in sc_select_method()
/net/vmw_vsock/
Dhyperv_transport.c566 struct sockaddr_vm *remote, struct msghdr *msg, in hvs_dgram_enqueue() argument
Dvmci_transport.c178 struct sockaddr_vm *remote) in vmci_transport_packet_get_addresses() argument
181 vsock_addr_init(remote, pkt->dg.src.context, pkt->src_port); in vmci_transport_packet_get_addresses()

12