Lines Matching refs:laddr
46 struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; in qedr_fill_sockaddr4() local
49 laddr->sin_family = AF_INET; in qedr_fill_sockaddr4()
52 laddr->sin_port = htons(cm_info->local_port); in qedr_fill_sockaddr4()
55 laddr->sin_addr.s_addr = htonl(cm_info->local_ip[0]); in qedr_fill_sockaddr4()
539 struct sockaddr_in *laddr; in qedr_iw_connect() local
546 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in qedr_iw_connect()
559 if (!laddr->sin_port || !raddr->sin_port) in qedr_iw_connect()
591 cm_info->local_ip[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_connect()
593 cm_info->local_port = ntohs(laddr->sin_port); in qedr_iw_connect()
596 rc = qedr_addr4_resolve(dev, laddr, raddr, in qedr_iw_connect()
663 struct sockaddr_in *laddr; in qedr_iw_create_listen() local
668 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in qedr_iw_create_listen()
692 iparams.ip_addr[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_create_listen()
693 iparams.port = ntohs(laddr->sin_port); in qedr_iw_create_listen()