Lines Matching refs:fd
294 int fdcount, fd;
311 for (fd = SD_LISTEN_FDS_START; fd < SD_LISTEN_FDS_START + fdcount; fd++) {
312 if (sd_is_socket_inet(fd, 0, 0, -1, port) > 0) {
313 return fd;
321 int fd, const char *proto,
333 rv = getsockname(fd, &sa, &len);
338 "getsockname on %d failed.", fd);
342 si.os_sock = &fd;
355 "apr_os_sock_make on %d failed.", fd);
362 "apr_socket_addr_get on %d failed.", fd);
378 int fd = find_systemd_socket(process, port);
379 if (fd < 0) {
389 rv = alloc_systemd_listener(process, fd, proto, &new);