Searched defs:msghdr (Results 1 - 10 of 10) sorted by relevance
/systemd/src/journal/ |
H A D | journald-syslog.c | 51 struct msghdr msghdr = { local 70 msghdr.msg_control = &control; 71 msghdr.msg_controllen = sizeof(control); 73 cmsg = CMSG_FIRSTHDR(&msghdr); 78 msghdr.msg_controllen = cmsg->cmsg_len; 85 if (sendmsg(s->syslog_fd, &msghdr, MSG_NOSIGNAL) >= 0) 106 if (sendmsg(s->syslog_fd, &msghdr, MSG_NOSIGNAL) >= 0)
|
H A D | journald-stream.c | 746 struct msghdr msghdr = { local 762 msghdr.msg_controllen = CMSG_SPACE(sizeof(int)); 763 msghdr.msg_control = alloca0(msghdr.msg_controllen); 765 cmsg = CMSG_FIRSTHDR(&msghdr); 772 l = sendmsg(s->server->notify_fd, &msghdr, MSG_DONTWAIT|MSG_NOSIGNAL);
|
H A D | journald-server.c | 1182 struct msghdr msghdr = { local 1215 n = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); 1223 CMSG_FOREACH(cmsg, &msghdr) { 1265 server_process_audit_message(s, s->buffer, n, ucred, &sa, msghdr.msg_namelen);
|
/systemd/src/libsystemd/sd-daemon/ |
H A D | sd-daemon.c | 411 struct msghdr msghdr = { local 461 msghdr.msg_namelen = offsetof(struct sockaddr_un, sun_path) + strlen(e); 462 if (msghdr.msg_namelen > sizeof(struct sockaddr_un)) 463 msghdr.msg_namelen = sizeof(struct sockaddr_un); 469 msghdr.msg_controllen = 473 msghdr.msg_control = alloca0(msghdr.msg_controllen); 475 cmsg = CMSG_FIRSTHDR(&msghdr); 484 assert_se(cmsg = CMSG_NXTHDR(&msghdr, cms [all...] |
/systemd/src/shared/ |
H A D | ask-password-api.c | 562 struct msghdr msghdr; local 609 zero(msghdr); 610 msghdr.msg_iov = &iovec; 611 msghdr.msg_iovlen = 1; 612 msghdr.msg_control = &control; 613 msghdr.msg_controllen = sizeof(control); 615 n = recvmsg(socket_fd, &msghdr, 0); 625 cmsg_close_all(&msghdr); 632 if (msghdr [all...] |
/systemd/src/import/ |
H A D | importd.c | 571 struct msghdr msghdr = { local 587 n = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); 595 cmsg_close_all(&msghdr); 597 CMSG_FOREACH(cmsg, &msghdr) 603 if (msghdr.msg_flags & MSG_TRUNC) {
|
/systemd/src/basic/ |
H A D | log.c | 401 struct msghdr msghdr = { local 436 n = sendmsg(syslog_fd, &msghdr, MSG_NOSIGNAL); 533 struct msghdr mh = {}; 885 struct msghdr mh = {
|
/systemd/src/timesync/ |
H A D | timesyncd-manager.c | 486 struct msghdr msghdr = { local 512 len = recvmsg(fd, &msghdr, MSG_DONTWAIT); 522 if (iov.iov_len < sizeof(struct ntp_msg) || (msghdr.msg_flags & MSG_TRUNC)) { 535 CMSG_FOREACH(cmsg, &msghdr) {
|
/systemd/src/udev/ |
H A D | udevd.c | 855 struct msghdr msghdr = { local 866 size = recvmsg(fd, &msghdr, MSG_DONTWAIT); 880 CMSG_FOREACH(cmsg, &msghdr) {
|
/systemd/src/core/ |
H A D | manager.c | 1530 struct msghdr msghdr = { local 1553 n = recvmsg(m->notify_fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); 1561 CMSG_FOREACH(cmsg, &msghdr) {
|
Completed in 84 milliseconds