Searched refs:peeraddr (Results 1 – 1 of 1) sorted by relevance
1005 struct sockaddr_storage peeraddr; in accept_from_sock() local1021 memset(&peeraddr, 0, sizeof(peeraddr)); in accept_from_sock()1022 len = newsock->ops->getname(newsock, (struct sockaddr *)&peeraddr, 2); in accept_from_sock()1029 make_sockaddr(&peeraddr, 0, &len); in accept_from_sock()1030 if (addr_to_nodeid(&peeraddr, &nodeid, &mark)) { in accept_from_sock()1031 switch (peeraddr.ss_family) { in accept_from_sock()1033 struct sockaddr_in *sin = (struct sockaddr_in *)&peeraddr; in accept_from_sock()1041 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&peeraddr; in accept_from_sock()