Lines Matching refs:addr
312 lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen)
359 /* Note that POSIX only requires us to check addr is non-NULL. addrlen must
360 * not be NULL if addr is valid.
362 if (NULL != addr) {
363 LWIP_ASSERT("addr valid but addrlen NULL", addrlen != NULL);
373 MEMCPY(addr, &sin, *addrlen);
396 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_accept(%d) returning new sock=%d addr=", s, newsock));
427 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_bind(%d, addr=", s));
498 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_connect(%d, addr=", s));
565 ip_addr_t *addr;
672 addr = &fromaddr;
673 netconn_getaddr(sock->conn, addr, &port, 0);
675 addr = netbuf_fromaddr((struct netbuf *)buf);
683 inet_addr_from_ipaddr(&sin.sin_addr, addr);
691 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom(%d): addr=", s));
692 ip_addr_debug_print(SOCKETS_DEBUG, addr);
697 addr = &fromaddr;
698 netconn_getaddr(sock->conn, addr, &port, 0);
700 addr = netbuf_fromaddr((struct netbuf *)buf);
704 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom(%d): addr=", s));
705 ip_addr_debug_print(SOCKETS_DEBUG, addr);
901 inet_addr_to_ipaddr(&buf.addr, &to_in->sin_addr);
906 ip_addr_set_any(&buf.addr);
912 ip_addr_debug_print(SOCKETS_DEBUG, &buf.addr);
1426 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_getaddrname(%d, addr=", s));