Home
last modified time | relevance | path

Searched refs:SOCKADDR_UN_LEN (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/cgroups-agent/
Dcgroups-agent.c35 n = sendto(fd, argv[1], l, 0, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in main()
/systemd-251/src/basic/
Dsocket-util.h217 #define SOCKADDR_UN_LEN(sa) \ macro
239 _len = SOCKADDR_UN_LEN(__sa->un); \
Dlog.c169 if (connect(syslog_fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) { in log_open_syslog()
181 if (connect(syslog_fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) { in log_open_syslog()
219 if (connect(journal_fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) { in log_open_journal()
Dfileio.c815 if (connect(sk, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in read_full_file_full()
/systemd-251/src/shared/
Dnscd-flush.c63 if (connect(fd, &nscd_sa.sa, SOCKADDR_UN_LEN(nscd_sa.un)) < 0) { in nscd_flush_cache_one()
Dask-password-api.c242 r = connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in ask_password_plymouth()
/systemd-251/src/libsystemd/sd-journal/
Djournal-send.c241 .msg_namelen = SOCKADDR_UN_LEN(sa.un), in sd_journal_sendv()
427 r = connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in sd_journal_stream_fd()
/systemd-251/src/test/
Dtest-socket-util.c137 …assert_se(SOCKADDR_UN_LEN(fs) == offsetof(struct sockaddr_un, sun_path) + strlen(fs.sun_path) + 1); in TEST()
138 …assert_se(SOCKADDR_UN_LEN(abstract) == offsetof(struct sockaddr_un, sun_path) + 1 + strlen(abstrac… in TEST()
Dtest-fileio.c897 assert_se(bind(listener, &sa.sa, SOCKADDR_UN_LEN(sa.un)) >= 0); in TEST()
/systemd-251/src/userdb/
Duserdbd-manager.c283 if (bind(m->listen_fd, &sockaddr.sa, SOCKADDR_UN_LEN(sockaddr.un)) < 0) in manager_startup()
/systemd-251/src/fsck/
Dfsck.c240 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in fsck_progress_socket()
/systemd-251/src/udev/
Dudev-ctrl.c77 uctrl->addrlen = SOCKADDR_UN_LEN(uctrl->saddr.un); in udev_ctrl_new_from_fd()
/systemd-251/src/import/
Dimportd.c655 if (bind(m->notify_fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in manager_new()
/systemd-251/src/coredump/
Dcoredump.c1073 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in send_iovec()
/systemd-251/src/core/
Dmanager.c1102 r = bind(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in manager_setup_cgroups_agent()
3218 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) { in manager_send_unit_plymouth()
/systemd-251/src/home/
Dhomed-manager.c1186 if (bind(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in manager_listen_notify()
/systemd-251/src/nspawn/
Dnspawn.c3603 r = bind(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in setup_notify_child()
5413 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) { in cant_be_in_netns()
/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c991 b->sockaddr_size = SOCKADDR_UN_LEN(b->sockaddr.un); in parse_container_unix_address()