Searched refs:peeraddr (Results 1 – 1 of 1) sorted by relevance
978 struct sockaddr_storage peeraddr; in accept_from_sock() local991 memset(&peeraddr, 0, sizeof(peeraddr)); in accept_from_sock()992 len = newsock->ops->getname(newsock, (struct sockaddr *)&peeraddr, 2); in accept_from_sock()999 make_sockaddr(&peeraddr, 0, &len); in accept_from_sock()1000 if (addr_to_nodeid(&peeraddr, &nodeid, &mark)) { in accept_from_sock()1001 switch (peeraddr.ss_family) { in accept_from_sock()1003 struct sockaddr_in *sin = (struct sockaddr_in *)&peeraddr; in accept_from_sock()1011 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&peeraddr; in accept_from_sock()