Searched refs:SOCKADDR_UN_LEN (Results 1 – 18 of 18) sorted by relevance
/systemd-251/src/cgroups-agent/ |
D | cgroups-agent.c | 35 n = sendto(fd, argv[1], l, 0, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in main()
|
/systemd-251/src/basic/ |
D | socket-util.h | 217 #define SOCKADDR_UN_LEN(sa) \ macro 239 _len = SOCKADDR_UN_LEN(__sa->un); \
|
D | log.c | 169 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()
|
D | fileio.c | 815 if (connect(sk, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in read_full_file_full()
|
/systemd-251/src/shared/ |
D | nscd-flush.c | 63 if (connect(fd, &nscd_sa.sa, SOCKADDR_UN_LEN(nscd_sa.un)) < 0) { in nscd_flush_cache_one()
|
D | ask-password-api.c | 242 r = connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)); in ask_password_plymouth()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-send.c | 241 .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/ |
D | test-socket-util.c | 137 …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()
|
D | test-fileio.c | 897 assert_se(bind(listener, &sa.sa, SOCKADDR_UN_LEN(sa.un)) >= 0); in TEST()
|
/systemd-251/src/userdb/ |
D | userdbd-manager.c | 283 if (bind(m->listen_fd, &sockaddr.sa, SOCKADDR_UN_LEN(sockaddr.un)) < 0) in manager_startup()
|
/systemd-251/src/fsck/ |
D | fsck.c | 240 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in fsck_progress_socket()
|
/systemd-251/src/udev/ |
D | udev-ctrl.c | 77 uctrl->addrlen = SOCKADDR_UN_LEN(uctrl->saddr.un); in udev_ctrl_new_from_fd()
|
/systemd-251/src/import/ |
D | importd.c | 655 if (bind(m->notify_fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in manager_new()
|
/systemd-251/src/coredump/ |
D | coredump.c | 1073 if (connect(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in send_iovec()
|
/systemd-251/src/core/ |
D | manager.c | 1102 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/ |
D | homed-manager.c | 1186 if (bind(fd, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0) in manager_listen_notify()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 3603 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/ |
D | sd-bus.c | 991 b->sockaddr_size = SOCKADDR_UN_LEN(b->sockaddr.un); in parse_container_unix_address()
|