Searched refs:listening (Results 1 - 3 of 3) sorted by relevance

/systemd/src/systemd/
H A Dsd-daemon.h109 the file descriptor refers to a socket. If listening is > 0 it is
110 verified that the socket is in listening mode. (i.e. listen() has
111 been called) If listening is == 0 it is verified that the socket is
112 not in listening mode. If listening is < 0 no listening mode check
117 int sd_is_socket(int fd, int family, int type, int listening);
126 listening flag is used the same way as in sd_is_socket(). Returns a
131 int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port);
141 socket path in path (including the initial 0 byte). The listening
[all...]
/systemd/src/libsystemd/sd-daemon/
H A Dsd-daemon.c213 static int sd_is_socket_internal(int fd, int type, int listening) { argument
239 if (listening >= 0) {
249 if (!accepting != !listening)
256 _public_ int sd_is_socket(int fd, int family, int type, int listening) { argument
262 r = sd_is_socket_internal(fd, type, listening);
282 _public_ int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) { argument
290 r = sd_is_socket_internal(fd, type, listening);
325 _public_ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) { argument
332 r = sd_is_socket_internal(fd, type, listening);
/systemd/src/systemctl/
H A Dsystemctl.c724 char*** listening) {
741 return log_error_errno(r, "Failed to get list of listening sockets: %s", bus_error_message(&error, r));
749 r = strv_extend(listening, type);
753 r = strv_extend(listening, path);
904 _cleanup_strv_free_ char **listening = NULL, **triggered = NULL; local
914 c = get_listening(bus, u->unit_path, &listening);
929 .type = listening[i*2],
930 .path = listening[i*2 + 1],
937 free(listening);
938 listening
721 get_listening( sd_bus *bus, const char* unit_path, char*** listening) argument
[all...]

Completed in 594 milliseconds