Searched defs:listen_fd (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/ipc/
H A Dipc-group.h14 int listen_fd; member in struct:ipc_group
26 struct ipc_group *ipc_group_alloc(int listen_fd);
29 struct ipc_group *ipc_group_lookup_listen_fd(int listen_fd);
H A Dipc-group.c18 struct ipc_group *ipc_group_alloc(int listen_fd) argument
22 i_assert(ipc_group_lookup_listen_fd(listen_fd) == NULL);
25 group->listen_fd = listen_fd;
49 struct ipc_group *ipc_group_lookup_listen_fd(int listen_fd) argument
54 if ((*groupp)->listen_fd == listen_fd)
H A Dipc-connection.c167 struct ipc_connection *ipc_connection_create(int listen_fd, int fd) argument
172 conn->group = ipc_group_lookup_listen_fd(listen_fd);
174 conn->group = ipc_group_alloc(listen_fd);
197 t_strdup_printf("#%d", conn->group->listen_fd);
/dovecot/src/lib-master/
H A Dmaster-service.h60 int listen_fd; member in struct:master_service_connection
184 int listen_fd);
H A Dmaster-service.c730 int listen_fd)
734 i_assert(listen_fd >= MASTER_LISTEN_FD_FIRST);
736 i = listen_fd - MASTER_LISTEN_FD_FIRST;
884 to access the listen_fd (e.g. to check socket
1048 conn.listen_fd = l->fd;
1073 conn.listen_fd = l->fd;
1080 conn.name = master_service_get_socket_name(service, conn.listen_fd);
729 master_service_get_socket_name(struct master_service *service, int listen_fd) argument
/dovecot/src/lib-program-client/
H A Dtest-program-client-net.c43 int listen_fd; member in struct:test_server
236 fd = net_accept(server->listen_fd, NULL, NULL); /* makes no sense on net */
264 test_globals.listen_fd = net_listen(&ip, &test_globals.port, 1);
266 if (test_globals.listen_fd < 0)
269 test_globals.io = io_add(test_globals.listen_fd, IO_READ,
281 i_close_fd(&test_globals.listen_fd);
H A Dtest-program-client-unix.c42 int listen_fd; member in struct:test_server
200 fd = net_accept(server->listen_fd, NULL, NULL); /* makes no sense on unix */
222 test_globals.listen_fd = net_listen_unix_unlink_stale(TEST_SOCKET, 100);
223 if (test_globals.listen_fd < 0)
226 test_globals.io = io_add(test_globals.listen_fd, IO_READ, test_program_connected, &test_globals);
237 i_close_fd(&test_globals.listen_fd);
/dovecot/src/director/
H A Dmain.c118 listener_get_socket_type_fallback(int listen_fd) argument
122 if (net_getsockname(listen_fd, NULL, &local_port) == 0 &&
144 int listen_fd = MASTER_LISTEN_FD_FIRST + i; local
146 name = master_service_get_socket_name(master_service, listen_fd);
150 type = listener_get_socket_type_fallback(listen_fd);
153 net_getsockname(listen_fd, &ip, &port) == 0 && port > 0) {
157 array_idx_set(&listener_socket_types, listen_fd, &type);
189 typep = array_idx(&listener_socket_types, conn->listen_fd);
/dovecot/src/log/
H A Dlog-connection.c39 int listen_fd; member in struct:log_connection
75 last_pending_log->listen_fd,
81 last_pending_log->listen_fd,
323 if (log->listen_fd != MASTER_LISTEN_FD_FIRST) {
392 i_warning("Log connection fd %d listen_fd %d prefix '%s' is sending input faster than we can write",
393 log->fd, log->listen_fd, log->default_prefix);
399 int fd, int listen_fd)
406 log->listen_fd = listen_fd;
409 log->default_prefix = i_strdup_printf("listen_fd
398 log_connection_create(struct log_error_buffer *errorbuf, int fd, int listen_fd) argument
[all...]
/dovecot/src/doveadm/
H A Dclient-connection-tcp.c587 client_connection_is_preauthenticated(int listen_fd) argument
594 return net_getunixname(listen_fd, &listen_path) == 0 &&
635 client_connection_tcp_create(int fd, int listen_fd, bool ssl) argument
668 client_connection_is_preauthenticated(listen_fd);

Completed in 27 milliseconds