Lines Matching defs:iovec
45 static void forward_syslog_iovec(Server *s, const struct iovec *iovec, unsigned n_iovec, const struct ucred *ucred, const struct timeval *tv) {
52 .msg_iov = (struct iovec *) iovec,
65 assert(iovec);
120 struct iovec iovec;
128 IOVEC_SET_STRING(iovec, buffer);
129 forward_syslog_iovec(s, &iovec, 1, ucred, tv);
133 struct iovec iovec[5];
151 IOVEC_SET_STRING(iovec[n++], header_priority);
160 IOVEC_SET_STRING(iovec[n++], header_time);
172 IOVEC_SET_STRING(iovec[n++], identifier);
174 IOVEC_SET_STRING(iovec[n++], header_pid);
176 IOVEC_SET_STRING(iovec[n++], identifier);
177 IOVEC_SET_STRING(iovec[n++], ": ");
181 IOVEC_SET_STRING(iovec[n++], message);
183 forward_syslog_iovec(s, iovec, n, ucred, tv);
329 struct iovec iovec[N_IOVEC_META_FIELDS + 6];
356 IOVEC_SET_STRING(iovec[n++], "_TRANSPORT=syslog");
359 IOVEC_SET_STRING(iovec[n++], syslog_priority);
363 IOVEC_SET_STRING(iovec[n++], syslog_facility);
369 IOVEC_SET_STRING(iovec[n++], syslog_identifier);
375 IOVEC_SET_STRING(iovec[n++], syslog_pid);
380 IOVEC_SET_STRING(iovec[n++], message);
382 server_dispatch_message(s, iovec, n, ELEMENTSOF(iovec), ucred, tv, label, label_len, NULL, priority, 0);