Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2204 struct sockaddr_in *sock_in4p; in ipaddr2sockaddr() local
2205 sock_in4p = (struct sockaddr_in *)sock_addrp; in ipaddr2sockaddr()
2207 sock_in4p->sin_addr.s_addr = ibt_addrp->un.ip4addr; in ipaddr2sockaddr()
2209 sock_in4p->sin_port = ntohs(*portp); in ipaddr2sockaddr()
2229 struct sockaddr_in *sock_in4p; in sockaddr2ibtaddr_port() local
2230 sock_in4p = (struct sockaddr_in *)sock_addrp; in sockaddr2ibtaddr_port()
2232 ibt_addrp->un.ip4addr = sock_in4p->sin_addr.s_addr; in sockaddr2ibtaddr_port()
2234 ip_port = ddi_swap16(sock_in4p->sin_port); in sockaddr2ibtaddr_port()
2236 ip_port = htons(sock_in4p->sin_port); in sockaddr2ibtaddr_port()
2240 sock_in4p->sin_port, ip_port); in sockaddr2ibtaddr_port()