Home
last modified time | relevance | path

Searched refs:loc_addr (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.c182 laddr->sin_addr.s_addr = htonl(cm_node->loc_addr[0]); in i40iw_fill_sockaddr4()
204 cm_node->loc_addr); in i40iw_fill_sockaddr6()
219 memcpy(cm_info->loc_addr, cm_node->loc_addr, sizeof(cm_info->loc_addr)); in i40iw_get_addr_info()
315 memcpy(event->cm_info.loc_addr, cm_node->loc_addr, sizeof(event->cm_info.loc_addr)); in i40iw_create_event()
326 event->cm_info.loc_addr, in i40iw_create_event()
455 iph->saddr = htonl(cm_node->loc_addr[0]); in i40iw_form_cm_frame()
483 cm_node->loc_addr); in i40iw_form_cm_frame()
1431 u32 *loc_addr, in i40iw_find_node() argument
1445 if (!memcmp(cm_node->loc_addr, loc_addr, sizeof(cm_node->loc_addr)) && in i40iw_find_node()
1485 memcpy(listen_addr, listen_node->loc_addr, sizeof(listen_addr)); in i40iw_find_listener()
[all …]
Di40iw_cm.h291 u32 loc_addr[4]; member
316 u32 loc_addr[4], rem_addr[4]; member
370 u32 loc_addr[4]; member
Di40iw_hw.c623 info->dest_ip[0] = cpu_to_le32(cminfo->loc_addr[0]); in i40iw_manage_qhash()
624 info->dest_ip[1] = cpu_to_le32(cminfo->loc_addr[1]); in i40iw_manage_qhash()
625 info->dest_ip[2] = cpu_to_le32(cminfo->loc_addr[2]); in i40iw_manage_qhash()
626 info->dest_ip[3] = cpu_to_le32(cminfo->loc_addr[3]); in i40iw_manage_qhash()
Di40iw_utils.c1360 u32 loc_addr[4], rem_addr[4]; in i40iw_ieq_get_qp() local
1367 memset(loc_addr, 0, sizeof(loc_addr)); in i40iw_ieq_get_qp()
1368 loc_addr[0] = ntohl(iph->daddr); in i40iw_ieq_get_qp()
1373 i40iw_copy_ip_ntohl(loc_addr, ip6h->daddr.in6_u.u6_addr32); in i40iw_ieq_get_qp()
1380 loc_addr, false, true); in i40iw_ieq_get_qp()
Di40iw.h578 u32 *loc_addr,
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_msg.c185 &pm_msg->loc_addr, IWPM_NLA_MANAGE_ADDR); in iwpm_add_mapping()
275 &pm_msg->loc_addr, IWPM_NLA_QUERY_LOCAL_ADDR); in iwpm_add_and_query_mapping()
504 if (iwpm_compare_sockaddr(local_sockaddr, &pm_msg->loc_addr)) { in iwpm_add_mapping_cb()
516 iwpm_print_sockaddr(&pm_msg->loc_addr, in iwpm_add_mapping_cb()
592 if (iwpm_compare_sockaddr(local_sockaddr, &pm_msg->loc_addr) || in iwpm_add_and_query_mapping_cb()
610 iwpm_print_sockaddr(&pm_msg->loc_addr, in iwpm_add_and_query_mapping_cb()
Diwcm.c531 pm_msg.loc_addr = cm_id->local_addr; in iw_cm_map()
/kernel/linux/linux-5.10/include/net/
Drawv6.h9 unsigned short num, const struct in6_addr *loc_addr,
/kernel/linux/linux-5.10/include/rdma/
Diw_portmap.h34 struct sockaddr_storage loc_addr; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Drio_mport_cdev.h107 __u64 loc_addr; member
/kernel/linux/linux-5.10/include/uapi/linux/
Drio_mport_cdev.h193 __u64 loc_addr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Drio_mport_cdev.h120 __u64 loc_addr; member
/kernel/linux/linux-5.10/net/ipv6/
Dudp.c761 __be16 loc_port, const struct in6_addr *loc_addr, in __udp_v6_is_mcast_sock() argument
777 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr))) in __udp_v6_is_mcast_sock()
779 if (!inet6_mc_check(sk, loc_addr, rmt_addr)) in __udp_v6_is_mcast_sock()
1009 __be16 loc_port, const struct in6_addr *loc_addr, in __udp6_lib_demux_lookup() argument
1014 unsigned int hash2 = ipv6_portaddr_hash(net, loc_addr, hnum); in __udp6_lib_demux_lookup()
1022 inet6_match(net, sk, rmt_addr, loc_addr, ports, dif, sdif)) in __udp6_lib_demux_lookup()
Draw.c70 unsigned short num, const struct in6_addr *loc_addr, in __raw_v6_lookup() argument
73 bool is_multicast = ipv6_addr_is_multicast(loc_addr); in __raw_v6_lookup()
90 if (ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr)) in __raw_v6_lookup()
93 inet6_mc_check(sk, loc_addr, rmt_addr)) in __raw_v6_lookup()
/kernel/linux/linux-5.10/net/ipv4/
Dudp.c575 __be16 loc_port, __be32 loc_addr, in __udp_is_mcast_sock() argument
585 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock()
589 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) in __udp_is_mcast_sock()
2449 __be16 loc_port, __be32 loc_addr, in __udp4_lib_mcast_demux_lookup() argument
2464 if (__udp_is_mcast_sock(net, sk, loc_port, loc_addr, in __udp4_lib_mcast_demux_lookup()
2480 __be16 loc_port, __be32 loc_addr, in __udp4_lib_demux_lookup() argument
2485 unsigned int hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
2488 INET_ADDR_COOKIE(acookie, rmt_addr, loc_addr); in __udp4_lib_demux_lookup()
Digmp.c2632 int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, in ip_mc_sf_allow() argument
2642 if (!ipv4_is_multicast(loc_addr)) in ip_mc_sf_allow()
2647 if (pmc->multi.imr_multiaddr.s_addr == loc_addr && in ip_mc_sf_allow()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Drio_mport_cdev.c849 if (xfer->loc_addr) { in rio_dma_transfer()
853 offset = lower_32_bits(offset_in_page(xfer->loc_addr)); in rio_dma_transfer()
864 (unsigned long)xfer->loc_addr & PAGE_MASK, in rio_dma_transfer()