Searched refs:sock_addr (Results 1 – 3 of 3) sorted by relevance
182 const sockaddr* sock_addr,209 const sockaddr* sock_addr, in GetIPAttributes() argument217 memcpy(&ifr.ifr_ifru.ifru_addr, sock_addr, sock_addr->sa_len); in GetIPAttributes()
674 SocketAddress sock_addr = in LookupBinding() local676 sock_addr.SetPort(addr.port()); in LookupBinding()677 return LookupBinding(sock_addr); in LookupBinding()
1504 SocketAddress sock_addr; in GetSocketPort() local1505 socklen_t sock_addr_len = sock_addr.GetMaxLength (); in GetSocketPort()1506 if (::getsockname (fd, sock_addr, &sock_addr_len) == 0) in GetSocketPort()1507 return sock_addr.GetPort (); in GetSocketPort()