addr              283 daemons/based/based_remote.c     struct sockaddr_storage addr;
addr              296 daemons/based/based_remote.c     laddr = sizeof(addr);
addr              297 daemons/based/based_remote.c     memset(&addr, 0, sizeof(addr));
addr              298 daemons/based/based_remote.c     csock = accept(ssock, (struct sockaddr *)&addr, &laddr);
addr              304 daemons/based/based_remote.c     pcmk__sockaddr2str(&addr, ipstr);
addr              260 daemons/execd/remoted_tls.c bind_and_listen(struct addrinfo *addr)
addr              267 daemons/execd/remoted_tls.c     pcmk__sockaddr2str(addr->ai_addr, buffer);
addr              270 daemons/execd/remoted_tls.c     fd = socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol);
addr              287 daemons/execd/remoted_tls.c     if (addr->ai_family == AF_INET6) {
addr              298 daemons/execd/remoted_tls.c     if (bind(fd, addr->ai_addr, addr->ai_addrlen) != 0) {
addr              968 lib/common/remote.c connect_socket_retry(int sock, const struct sockaddr *addr, socklen_t addrlen,
addr              984 lib/common/remote.c     rc = connect(sock, addr, addrlen);
addr             1041 lib/common/remote.c connect_socket_once(int sock, const struct sockaddr *addr, socklen_t addrlen)
addr             1043 lib/common/remote.c     int rc = connect(sock, addr, addrlen);
addr             1116 lib/common/remote.c         struct sockaddr *addr = rp->ai_addr;
addr             1118 lib/common/remote.c         if (!addr) {
addr             1137 lib/common/remote.c         if (addr->sa_family == AF_INET6) {
addr             1138 lib/common/remote.c             ((struct sockaddr_in6 *)(void*)addr)->sin6_port = htons(port);
addr             1140 lib/common/remote.c             ((struct sockaddr_in *)(void*)addr)->sin_port = htons(port);
addr             1144 lib/common/remote.c         pcmk__sockaddr2str(addr, buffer);
addr             1217 lib/common/remote.c     struct sockaddr_storage addr;
addr             1218 lib/common/remote.c     socklen_t laddr = sizeof(addr);
addr             1225 lib/common/remote.c     memset(&addr, 0, sizeof(addr));
addr             1226 lib/common/remote.c     *csock = accept(ssock, (struct sockaddr *)&addr, &laddr);
addr             1233 lib/common/remote.c     pcmk__sockaddr2str(&addr, addr_str);
addr               32 maint/gnulib/lib/accept.c rpl_accept (int fd, struct sockaddr *addr, socklen_t *addrlen)
addr               43 maint/gnulib/lib/accept.c       SOCKET fh = accept (sock, addr, addrlen);
addr               39 maint/gnulib/lib/accept4.c accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
addr               52 maint/gnulib/lib/accept4.c         int result = accept4 (sockfd, addr, addrlen, flags);
addr               70 maint/gnulib/lib/accept4.c   fd = accept (sockfd, addr, addrlen);
addr               89 maint/gnulib/lib/alloca.c find_stack_direction (int *addr, int depth)
addr               92 maint/gnulib/lib/alloca.c   if (! addr)
addr               93 maint/gnulib/lib/alloca.c     addr = &dummy;
addr               94 maint/gnulib/lib/alloca.c   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
addr               95 maint/gnulib/lib/alloca.c   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
addr             1961 maint/gnulib/lib/fts.c         char *addr = sp->fts_path;
addr             1966 maint/gnulib/lib/fts.c                     (char *)addr + ((p)->fts_accpath - (p)->fts_path);  \
addr             1968 maint/gnulib/lib/fts.c         (p)->fts_path = addr;                                           \
addr               32 maint/gnulib/lib/getpeername.c rpl_getpeername (int fd, struct sockaddr *addr, socklen_t *addrlen)
addr               43 maint/gnulib/lib/getpeername.c       int r = getpeername (sock, addr, addrlen);
addr               32 maint/gnulib/lib/getsockname.c rpl_getsockname (int fd, struct sockaddr *addr, socklen_t *addrlen)
addr               43 maint/gnulib/lib/getsockname.c       int r = getsockname (sock, addr, addrlen);
addr              375 maint/gnulib/lib/sigsegv.c #   define SIGSEGV_FAULT_HANDLER_ARGLIST  int sig, int code, struct sigcontext *scp, void *addr
addr              376 maint/gnulib/lib/sigsegv.c #   define SIGSEGV_FAULT_ADDRESS  addr
addr              974 maint/gnulib/lib/sigsegv.c                   uintptr_t addr = (uintptr_t) address;
addr              977 maint/gnulib/lib/sigsegv.c                   if (addr >= vma.prev_end && addr <= vma.end - 1)
addr              980 maint/gnulib/lib/sigsegv.c                   if (addr >= vma.start
addr              981 maint/gnulib/lib/sigsegv.c                       ? (addr <= vma.end - 1)
addr              982 maint/gnulib/lib/sigsegv.c                       : vma.is_near_this (addr, &vma))
addr              984 maint/gnulib/lib/sigsegv.c                   if (addr <= vma.end - 1
addr              985 maint/gnulib/lib/sigsegv.c                       ? (addr >= vma.start)
addr              986 maint/gnulib/lib/sigsegv.c                       : vma.is_near_this (addr, &vma))
addr             1029 maint/gnulib/lib/sigsegv.c           uintptr_t addr = (uintptr_t) address;
addr             1031 maint/gnulib/lib/sigsegv.c           if ((addr <= old_sp + 4096 && old_sp <= addr + 4096)
addr             1033 maint/gnulib/lib/sigsegv.c               || (addr <= old_bsp + 4096 && old_bsp <= addr + 4096)
addr               60 maint/gnulib/lib/stackvma.c simple_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr               62 maint/gnulib/lib/stackvma.c   return (vma->start - addr <= (vma->start - vma->prev_end) / 2);
addr               71 maint/gnulib/lib/stackvma.c simple_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr               73 maint/gnulib/lib/stackvma.c   return (addr - vma->end < (vma->next_start - vma->end) / 2);
addr              635 maint/gnulib/lib/stackvma.c is_mapped (uintptr_t addr)
addr              638 maint/gnulib/lib/stackvma.c   return mincore ((MINCORE_ADDR_T) addr, pagesize, vec) >= 0;
addr              645 maint/gnulib/lib/stackvma.c mapped_range_start (uintptr_t addr)
addr              656 maint/gnulib/lib/stackvma.c       if (addr == 0)
addr              657 maint/gnulib/lib/stackvma.c         return addr;
addr              659 maint/gnulib/lib/stackvma.c       max_remaining = addr / pagesize;
addr              662 maint/gnulib/lib/stackvma.c       if (mincore ((MINCORE_ADDR_T) (addr - stepsize * pagesize),
addr              667 maint/gnulib/lib/stackvma.c       addr -= stepsize * pagesize;
addr              675 maint/gnulib/lib/stackvma.c         return addr;
addr              682 maint/gnulib/lib/stackvma.c       if (mincore ((MINCORE_ADDR_T) (addr - halfstepsize1 * pagesize),
addr              687 maint/gnulib/lib/stackvma.c           addr -= halfstepsize1 * pagesize;
addr              697 maint/gnulib/lib/stackvma.c mapped_range_end (uintptr_t addr)
addr              704 maint/gnulib/lib/stackvma.c   addr += pagesize;
addr              709 maint/gnulib/lib/stackvma.c       if (addr == 0) /* wrapped around? */
addr              710 maint/gnulib/lib/stackvma.c         return addr;
addr              712 maint/gnulib/lib/stackvma.c       max_remaining = (- addr) / pagesize;
addr              715 maint/gnulib/lib/stackvma.c       if (mincore ((MINCORE_ADDR_T) addr, stepsize * pagesize, vec) < 0)
addr              719 maint/gnulib/lib/stackvma.c       addr += stepsize * pagesize;
addr              727 maint/gnulib/lib/stackvma.c         return addr;
addr              734 maint/gnulib/lib/stackvma.c       if (mincore ((MINCORE_ADDR_T) addr, halfstepsize1 * pagesize, vec) < 0)
addr              738 maint/gnulib/lib/stackvma.c           addr += halfstepsize1 * pagesize;
addr              775 maint/gnulib/lib/stackvma.c       uintptr_t addr;
addr              781 maint/gnulib/lib/stackvma.c       for (i = stepsize, addr = addr1 + addr_stepsize;
addr              783 maint/gnulib/lib/stackvma.c            i += 2 * stepsize, addr += 2 * addr_stepsize)
addr              785 maint/gnulib/lib/stackvma.c         if (is_mapped (addr))
addr              796 maint/gnulib/lib/stackvma.c mincore_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr              806 maint/gnulib/lib/stackvma.c   uintptr_t testaddr = addr - (vma->start - addr);
addr              807 maint/gnulib/lib/stackvma.c   if (testaddr > addr) /* overflow? */
addr              819 maint/gnulib/lib/stackvma.c mincore_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr              829 maint/gnulib/lib/stackvma.c   uintptr_t testaddr = addr + (addr - vma->end);
addr              830 maint/gnulib/lib/stackvma.c   if (testaddr < addr) /* overflow? */
addr             1178 maint/gnulib/lib/stackvma.c is_mapped (uintptr_t addr)
addr             1182 maint/gnulib/lib/stackvma.c   if (addr == 0)
addr             1184 maint/gnulib/lib/stackvma.c   return mquery ((void *) addr, pagesize, 0, MAP_FIXED, -1, 0) == (void *) -1;
addr             1191 maint/gnulib/lib/stackvma.c mapped_range_start (uintptr_t addr)
addr             1203 maint/gnulib/lib/stackvma.c       if (addr == 0)
addr             1206 maint/gnulib/lib/stackvma.c       if (addr <= stepsize)
addr             1212 maint/gnulib/lib/stackvma.c       hole = (uintptr_t) mquery ((void *) (addr - stepsize), pagesize,
addr             1214 maint/gnulib/lib/stackvma.c       if (!(hole == (uintptr_t) (void *) -1 || hole >= addr))
addr             1222 maint/gnulib/lib/stackvma.c       addr -= stepsize;
addr             1224 maint/gnulib/lib/stackvma.c       if (2 * stepsize > stepsize && 2 * stepsize < addr)
addr             1231 maint/gnulib/lib/stackvma.c   while (stepsize > pagesize && stepsize / 2 >= addr - known_unmapped_page)
addr             1239 maint/gnulib/lib/stackvma.c       hole = (uintptr_t) mquery ((void *) (addr - stepsize), pagesize,
addr             1241 maint/gnulib/lib/stackvma.c       if (!(hole == (uintptr_t) (void *) -1 || hole >= addr))
addr             1246 maint/gnulib/lib/stackvma.c         addr -= stepsize;
addr             1250 maint/gnulib/lib/stackvma.c   return addr;
addr             1257 maint/gnulib/lib/stackvma.c mapped_range_end (uintptr_t addr)
addr             1261 maint/gnulib/lib/stackvma.c   if (addr == 0)
addr             1264 maint/gnulib/lib/stackvma.c   end = (uintptr_t) mquery ((void *) addr, pagesize, 0, 0, -1, 0);
addr             1303 maint/gnulib/lib/stackvma.c mquery_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr             1313 maint/gnulib/lib/stackvma.c   uintptr_t testaddr = addr - (vma->start - addr);
addr             1314 maint/gnulib/lib/stackvma.c   if (testaddr > addr) /* overflow? */
addr             1326 maint/gnulib/lib/stackvma.c mquery_is_near_this (uintptr_t addr, struct vma_struct *vma)
addr             1336 maint/gnulib/lib/stackvma.c   uintptr_t testaddr = addr + (addr - vma->end);
addr             1337 maint/gnulib/lib/stackvma.c   if (testaddr < addr) /* overflow? */
addr               34 maint/gnulib/lib/stackvma.h   int (*is_near_this) (uintptr_t addr, struct vma_struct *vma);
addr               41 maint/gnulib/lib/stackvma.h   int (*is_near_this) (uintptr_t addr, struct vma_struct *vma);
addr              314 maint/gnulib/lib/sys_socket.in.h                   (int fd, const struct sockaddr *addr, socklen_t addrlen)
addr              317 maint/gnulib/lib/sys_socket.in.h                   (int fd, const struct sockaddr *addr, socklen_t addrlen));
addr              323 maint/gnulib/lib/sys_socket.in.h                         const struct sockaddr *addr, socklen_t addrlen));
addr              345 maint/gnulib/lib/sys_socket.in.h                    struct sockaddr *restrict addr,
addr              349 maint/gnulib/lib/sys_socket.in.h                    struct sockaddr *restrict addr,
addr              356 maint/gnulib/lib/sys_socket.in.h                         struct sockaddr *restrict addr,
addr              378 maint/gnulib/lib/sys_socket.in.h                   (int fd, const struct sockaddr *addr, socklen_t addrlen)
addr              381 maint/gnulib/lib/sys_socket.in.h                   (int fd, const struct sockaddr *addr, socklen_t addrlen));
addr              387 maint/gnulib/lib/sys_socket.in.h                         const struct sockaddr *addr, socklen_t addrlen));
addr              408 maint/gnulib/lib/sys_socket.in.h                   (int fd, struct sockaddr *restrict addr,
addr              412 maint/gnulib/lib/sys_socket.in.h                   (int fd, struct sockaddr *restrict addr,
addr              418 maint/gnulib/lib/sys_socket.in.h                        (int fd, struct sockaddr *restrict addr,
addr              440 maint/gnulib/lib/sys_socket.in.h                   (int fd, struct sockaddr *restrict addr,
addr              444 maint/gnulib/lib/sys_socket.in.h                   (int fd, struct sockaddr *restrict addr,
addr              450 maint/gnulib/lib/sys_socket.in.h                        (int fd, struct sockaddr *restrict addr,
addr              708 maint/gnulib/lib/sys_socket.in.h                   (int sockfd, struct sockaddr *addr, socklen_t *addrlen,
addr              711 maint/gnulib/lib/sys_socket.in.h                   (int sockfd, struct sockaddr *addr, socklen_t *addrlen,
addr              715 maint/gnulib/lib/sys_socket.in.h                   (int sockfd, struct sockaddr *addr, socklen_t *addrlen,
addr              718 maint/gnulib/lib/sys_socket.in.h                   (int sockfd, struct sockaddr *addr, socklen_t *addrlen,
addr               44 maint/gnulib/tests/mmap-anon-util.h munmap (void *addr, size_t len)
addr               46 maint/gnulib/tests/mmap-anon-util.h   if (VirtualFree (addr, len, MEM_DECOMMIT))
addr               53 maint/gnulib/tests/mmap-anon-util.h mprotect (void *addr, size_t len, int prot)
addr               57 maint/gnulib/tests/mmap-anon-util.h   if (VirtualProtect (addr, len, prot, &oldprot))
addr               35 maint/gnulib/tests/socket-client.h     struct sockaddr_in addr;
addr               37 maint/gnulib/tests/socket-client.h     memset (&addr, 0, sizeof (addr)); /* needed on AIX and OSF/1 */
addr               38 maint/gnulib/tests/socket-client.h     addr.sin_family = AF_INET;
addr               40 maint/gnulib/tests/socket-client.h     inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr);
addr               42 maint/gnulib/tests/socket-client.h     addr.sin_addr.s_addr = htonl (0x7F000001); /* 127.0.0.1 */
addr               46 maint/gnulib/tests/socket-client.h       memcpy (&addr.sin_addr.s_addr, dotted, 4);
addr               49 maint/gnulib/tests/socket-client.h     addr.sin_port = htons (port);
addr               52 maint/gnulib/tests/socket-client.h                      (const struct sockaddr *) &addr, sizeof (addr))
addr               59 maint/gnulib/tests/socket-server.h     struct sockaddr_in addr;
addr               61 maint/gnulib/tests/socket-server.h     memset (&addr, 0, sizeof (addr)); /* needed on AIX and OSF/1 */
addr               62 maint/gnulib/tests/socket-server.h     addr.sin_family = AF_INET;
addr               64 maint/gnulib/tests/socket-server.h     inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr);
addr               66 maint/gnulib/tests/socket-server.h     addr.sin_addr.s_addr = htonl (0x7F000001); /* 127.0.0.1 */
addr               70 maint/gnulib/tests/socket-server.h       memcpy (&addr.sin_addr.s_addr, dotted, 4);
addr               73 maint/gnulib/tests/socket-server.h     addr.sin_port = htons (port);
addr               75 maint/gnulib/tests/socket-server.h     if (bind (server, (const struct sockaddr *) &addr, sizeof (addr)) < 0)
addr               85 maint/gnulib/tests/socket-server.h       struct sockaddr_in addr;
addr               86 maint/gnulib/tests/socket-server.h       socklen_t addrlen = sizeof (addr);
addr               88 maint/gnulib/tests/socket-server.h       if (getsockname (server, (struct sockaddr *) &addr, &addrlen) < 0)
addr               94 maint/gnulib/tests/socket-server.h       port = ntohs (addr.sin_port);
addr              112 maint/gnulib/tests/socket-server.h   struct sockaddr_storage addr;
addr              113 maint/gnulib/tests/socket-server.h   socklen_t addrlen = sizeof (addr);
addr              114 maint/gnulib/tests/socket-server.h   int connected_socket = accept (server, (struct sockaddr *) &addr, &addrlen);
addr               38 maint/gnulib/tests/test-accept.c     struct sockaddr_in addr;
addr               39 maint/gnulib/tests/test-accept.c     socklen_t addrlen = sizeof (addr);
addr               42 maint/gnulib/tests/test-accept.c     ASSERT (accept (-1, (struct sockaddr *) &addr, &addrlen) == -1);
addr               46 maint/gnulib/tests/test-accept.c     struct sockaddr_in addr;
addr               47 maint/gnulib/tests/test-accept.c     socklen_t addrlen = sizeof (addr);
addr               51 maint/gnulib/tests/test-accept.c     ASSERT (accept (99, (struct sockaddr *) &addr, &addrlen) == -1);
addr               45 maint/gnulib/tests/test-accept4.c     struct sockaddr_in addr;
addr               46 maint/gnulib/tests/test-accept4.c     socklen_t addrlen = sizeof (addr);
addr               49 maint/gnulib/tests/test-accept4.c     ASSERT (accept4 (-1, (struct sockaddr *) &addr, &addrlen,
addr               55 maint/gnulib/tests/test-accept4.c     struct sockaddr_in addr;
addr               56 maint/gnulib/tests/test-accept4.c     socklen_t addrlen = sizeof (addr);
addr               60 maint/gnulib/tests/test-accept4.c     ASSERT (accept4 (99, (struct sockaddr *) &addr, &addrlen,
addr               39 maint/gnulib/tests/test-bind.c     struct sockaddr_in addr;
addr               41 maint/gnulib/tests/test-bind.c     addr.sin_family = AF_INET;
addr               42 maint/gnulib/tests/test-bind.c     inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr);
addr               43 maint/gnulib/tests/test-bind.c     addr.sin_port = htons (80);
addr               46 maint/gnulib/tests/test-bind.c       ASSERT (bind (-1, (const struct sockaddr *) &addr, sizeof (addr)) == -1);
addr               52 maint/gnulib/tests/test-bind.c       ASSERT (bind (99, (const struct sockaddr *) &addr, sizeof (addr)) == -1);
addr               39 maint/gnulib/tests/test-connect.c     struct sockaddr_in addr;
addr               41 maint/gnulib/tests/test-connect.c     addr.sin_family = AF_INET;
addr               42 maint/gnulib/tests/test-connect.c     inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr);
addr               43 maint/gnulib/tests/test-connect.c     addr.sin_port = htons (80);
addr               46 maint/gnulib/tests/test-connect.c       ASSERT (connect (-1, (const struct sockaddr *) &addr, sizeof (addr))
addr               53 maint/gnulib/tests/test-connect.c       ASSERT (connect (99, (const struct sockaddr *) &addr, sizeof (addr))
addr              115 maint/gnulib/tests/test-explicit_bzero.c   uintptr_t addr = (uintptr_t) heapbuf;
addr              119 maint/gnulib/tests/test-explicit_bzero.c   if (is_range_mapped (addr, addr + SECRET_SIZE))
addr               38 maint/gnulib/tests/test-getpeername.c     struct sockaddr_in addr;
addr               39 maint/gnulib/tests/test-getpeername.c     socklen_t addrlen = sizeof (addr);
addr               42 maint/gnulib/tests/test-getpeername.c     ASSERT (getpeername (-1, (struct sockaddr *) &addr, &addrlen) == -1);
addr               46 maint/gnulib/tests/test-getpeername.c     struct sockaddr_in addr;
addr               47 maint/gnulib/tests/test-getpeername.c     socklen_t addrlen = sizeof (addr);
addr               51 maint/gnulib/tests/test-getpeername.c     ASSERT (getpeername (99, (struct sockaddr *) &addr, &addrlen) == -1);
addr               72 maint/gnulib/tests/test-getsockname.c     struct sockaddr_in addr;
addr               73 maint/gnulib/tests/test-getsockname.c     socklen_t addrlen = sizeof (addr);
addr               76 maint/gnulib/tests/test-getsockname.c     ASSERT (getsockname (-1, (struct sockaddr *) &addr, &addrlen) == -1);
addr               80 maint/gnulib/tests/test-getsockname.c     struct sockaddr_in addr;
addr               81 maint/gnulib/tests/test-getsockname.c     socklen_t addrlen = sizeof (addr);
addr               85 maint/gnulib/tests/test-getsockname.c     ASSERT (getsockname (99, (struct sockaddr *) &addr, &addrlen) == -1);
addr               92 maint/gnulib/tests/test-getsockname.c     struct sockaddr_in addr;
addr               93 maint/gnulib/tests/test-getsockname.c     socklen_t addrlen = sizeof (addr);
addr               95 maint/gnulib/tests/test-getsockname.c     memset (&addr, 0, sizeof (addr));
addr               96 maint/gnulib/tests/test-getsockname.c     ASSERT (getsockname (s, (struct sockaddr *) &addr, &addrlen) == 0);
addr               97 maint/gnulib/tests/test-getsockname.c     ASSERT (addr.sin_family == AF_INET);
addr               98 maint/gnulib/tests/test-getsockname.c     ASSERT (ntohs (addr.sin_port) != 0);
addr               41 maint/gnulib/tests/test-recvfrom.c     struct sockaddr_in addr;
addr               42 maint/gnulib/tests/test-recvfrom.c     socklen_t addrlen = sizeof (addr);
addr               45 maint/gnulib/tests/test-recvfrom.c     ASSERT (recvfrom (-1, &byte, 1, 0, (struct sockaddr *) &addr, &addrlen)
addr               51 maint/gnulib/tests/test-recvfrom.c     struct sockaddr_in addr;
addr               52 maint/gnulib/tests/test-recvfrom.c     socklen_t addrlen = sizeof (addr);
addr               56 maint/gnulib/tests/test-recvfrom.c     ASSERT (recvfrom (99, &byte, 1, 0, (struct sockaddr *) &addr, &addrlen)
addr               41 maint/gnulib/tests/test-sendto.c     struct sockaddr_in addr;
addr               43 maint/gnulib/tests/test-sendto.c     addr.sin_family = AF_INET;
addr               44 maint/gnulib/tests/test-sendto.c     inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr);
addr               45 maint/gnulib/tests/test-sendto.c     addr.sin_port = htons (80);
addr               50 maint/gnulib/tests/test-sendto.c                       (const struct sockaddr *) &addr, sizeof (addr))
addr               59 maint/gnulib/tests/test-sendto.c                       (const struct sockaddr *) &addr, sizeof (addr))
addr               66 maint/gnulib/tests/test-sigsegv-catch-stackoverflow1.c   volatile char *addr = &dummy;
addr               67 maint/gnulib/tests/test-sigsegv-catch-stackoverflow1.c   if (!(addr >= stack_lower_bound && addr <= stack_upper_bound))