Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2199 ipaddr2sockaddr(ibt_ip_addr_t *ibt_addrp, struct sockaddr *sock_addrp, in ipaddr2sockaddr() argument
2202 sock_addrp->sa_family = ibt_addrp->family; in ipaddr2sockaddr()
2203 if (ibt_addrp->family == AF_INET) { in ipaddr2sockaddr()
2207 sock_in4p->sin_addr.s_addr = ibt_addrp->un.ip4addr; in ipaddr2sockaddr()
2214 bcopy(&(ibt_addrp->un.ip6addr), &(in6_addr->sin6_addr), in ipaddr2sockaddr()
2223 ibt_ip_addr_t *ibt_addrp, in_port_t *portp) in sockaddr2ibtaddr_port() argument
2227 ibt_addrp->family = sock_addrp->sa_family; in sockaddr2ibtaddr_port()
2232 ibt_addrp->un.ip4addr = sock_in4p->sin_addr.s_addr; in sockaddr2ibtaddr_port()
2239 "AF_INET addr %x, port %x, %x", ibt_addrp->un.ip4addr, in sockaddr2ibtaddr_port()
2248 bcopy(&(in6_addr->sin6_addr), &(ibt_addrp->un.ip6addr), in sockaddr2ibtaddr_port()