Lines Matching refs:rem_addr
81 memcpy(cm_info->rem_addr, cm_node->rem_addr, sizeof(cm_info->rem_addr)); in irdma_get_addr_info()
104 raddr->sin_addr.s_addr = htonl(cm_node->rem_addr[0]); in irdma_fill_sockaddr4()
127 cm_node->rem_addr); in irdma_fill_sockaddr6()
244 memcpy(event->cm_info.rem_addr, cm_node->rem_addr, in irdma_create_event()
245 sizeof(event->cm_info.rem_addr)); in irdma_create_event()
254 event->cm_info.rem_addr); in irdma_create_event()
502 iph->daddr = htonl(cm_node->rem_addr[0]); in irdma_form_uda_cm_frame()
534 cm_node->rem_addr); in irdma_form_uda_cm_frame()
608 cm_node->loc_port, cm_node->rem_addr, cm_node->loc_addr); in irdma_send_reset()
2048 u16 rem_port, u32 *rem_addr, u16 loc_port, in irdma_find_node() argument
2059 !memcmp(cm_node->rem_addr, rem_addr, sizeof(cm_node->rem_addr))) { in irdma_find_node()
2096 bool irdma_ipv4_is_lpb(u32 loc_addr, u32 rem_addr) in irdma_ipv4_is_lpb() argument
2098 return ipv4_is_loopback(htonl(rem_addr)) || (loc_addr == rem_addr); in irdma_ipv4_is_lpb()
2106 bool irdma_ipv6_is_lpb(u32 *loc_addr, u32 *rem_addr) in irdma_ipv6_is_lpb() argument
2110 irdma_copy_ip_htonl(raddr6.in6_u.u6_addr32, rem_addr); in irdma_ipv6_is_lpb()
2112 return !memcmp(loc_addr, rem_addr, 16) || ipv6_addr_loopback(&raddr6); in irdma_ipv6_is_lpb()
2133 ah_info.dest_ip_addr[0] = cm_node->rem_addr[0]; in irdma_cm_create_ah()
2138 memcpy(ah_info.dest_ip_addr, cm_node->rem_addr, in irdma_cm_create_ah()
2221 memcpy(cm_node->rem_addr, cm_info->rem_addr, sizeof(cm_node->rem_addr)); in irdma_make_cm_node()
2248 htonl(cm_node->rem_addr[0]), in irdma_make_cm_node()
2258 htonl(cm_node->rem_addr[0]), htonl(cm_node->rem_addr[1]), in irdma_make_cm_node()
2259 htonl(cm_node->rem_addr[2]), htonl(cm_node->rem_addr[3]) in irdma_make_cm_node()
2268 irdma_ipv4_is_lpb(cm_node->loc_addr[0], cm_node->rem_addr[0])) || in irdma_make_cm_node()
2270 irdma_ipv6_is_lpb(cm_node->loc_addr, cm_node->rem_addr))) { in irdma_make_cm_node()
2272 arpindex = irdma_arp_table(iwdev->rf, cm_node->rem_addr, in irdma_make_cm_node()
2276 oldarpindex = irdma_arp_table(iwdev->rf, cm_node->rem_addr, in irdma_make_cm_node()
2282 cm_info->rem_addr[0], in irdma_make_cm_node()
2287 cm_info->rem_addr, in irdma_make_cm_node()
2459 cm_node->rem_port, cm_node->loc_port, cm_node->rem_addr, in irdma_handle_rst_pkt()
3125 cm_info.rem_addr[0] = ntohl(iph->saddr); in irdma_receive_ilq()
3132 irdma_copy_ip_ntohl(cm_info.rem_addr, in irdma_receive_ilq()
3139 cm_node = irdma_find_node(cm_core, cm_info.rem_port, cm_info.rem_addr, in irdma_receive_ilq()
3312 tcp_info->dest_ip_addr[3] = cm_node->rem_addr[0]; in irdma_init_tcp_ctx()
3321 memcpy(tcp_info->dest_ip_addr, cm_node->rem_addr, in irdma_init_tcp_ctx()
3728 cm_node->rem_port, cm_node->loc_port, cm_node->rem_addr, in irdma_accept()
3815 memset(cm_info.rem_addr, 0, sizeof(cm_info.rem_addr)); in irdma_connect()
3817 cm_info.rem_addr[0] = ntohl(raddr->sin_addr.s_addr); in irdma_connect()
3828 irdma_copy_ip_ntohl(cm_info.rem_addr, in irdma_connect()
3886 cm_node->rem_port, cm_node->loc_port, cm_node->rem_addr, in irdma_connect()
3897 cm_info.rem_addr); in irdma_connect()
3901 cm_info.rem_addr); in irdma_connect()