Home
last modified time | relevance | path

Searched refs:listening (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/systemd/
Dsd-daemon.h115 int sd_is_socket(int fd, int family, int type, int listening);
129 int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port);
141 …s_socket_sockaddr(int fd, int type, const struct sockaddr* addr, unsigned addr_len, int listening);
157 int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length);
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c193 static int sd_is_socket_internal(int fd, int type, int listening) { in sd_is_socket_internal() argument
219 if (listening >= 0) { in sd_is_socket_internal()
229 if (!accepting != !listening) in sd_is_socket_internal()
236 _public_ int sd_is_socket(int fd, int family, int type, int listening) { in sd_is_socket() argument
242 r = sd_is_socket_internal(fd, type, listening); in sd_is_socket()
262 _public_ int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) { in sd_is_socket_inet() argument
270 r = sd_is_socket_internal(fd, type, listening); in sd_is_socket_inet()
300 …_socket_sockaddr(int fd, int type, const struct sockaddr* addr, unsigned addr_len, int listening) { in sd_is_socket_sockaddr() argument
310 r = sd_is_socket_internal(fd, type, listening); in sd_is_socket_sockaddr()
358 _public_ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) { in sd_is_socket_unix() argument
[all …]
/systemd-251/src/systemctl/
Dsystemctl-list-units.c274 char*** listening) { in get_listening() argument
299 r = strv_extend(listening, type); in get_listening()
303 r = strv_extend(listening, path); in get_listening()
453 _cleanup_strv_free_ char **listening = NULL, **triggered = NULL; in verb_list_sockets() local
463 c = get_listening(bus, u->unit_path, &listening); in verb_list_sockets()
478 .type = listening[i*2], in verb_list_sockets()
479 .path = listening[i*2 + 1], in verb_list_sockets()
486 free(listening); in verb_list_sockets()
487 listening = triggered = NULL; /* avoid cleanup */ in verb_list_sockets()
/systemd-251/docs/
DROOT_STORAGE_DAEMONS.md186 receive the listening socket for its services from systemd instead of
DUSER_GROUP_API.md94 services are listening there, that have special relevance:
/systemd-251/
DNEWS2853 unit enters the "listening" state, i.e. after the associated service
4898 have an effect on .socket units: when used the listening socket is
7421 * Socket units gained support for listening on AF_VSOCK sockets for
8544 * Socket units now support listening on SCTP and UDP-lite protocol
12479 a list of kernel sockets systemd is listening on with the
12559 network sockets a socket unit is listening on.
13485 default). This should allow setups with a lot more listening
DTODO1197 service instances processing the listening socket, and open this up