Lines Matching defs:msghdr
427 static void process_cmsg(isc_socket_t *, struct msghdr *, isc_socketevent_t *);
429 struct msghdr *, struct iovec *, size_t *);
431 struct msghdr *, struct iovec *, size_t *);
1002 struct msghdr msg;
1030 process_cmsg(isc_socket_t *sock, struct msghdr *msg, isc_socketevent_t *dev) {
1123 * Construct an iov array and attach it to the msghdr passed in. This is
1136 struct msghdr *msg, struct iovec *iov, size_t *write_countp)
1261 * Construct an iov array and attach it to the msghdr passed in. This is
1274 struct msghdr *msg, struct iovec *iov, size_t *read_countp)
1281 memset(msg, 0, sizeof(struct msghdr));
1446 dump_msg(struct msghdr *msg) {
1476 struct msghdr msghdr;
1481 build_msghdr_recv(sock, dev, &msghdr, iov, &read_count);
1484 dump_msg(&msghdr);
1487 cc = recvmsg(sock->fd, &msghdr, 0);
1491 dump_msg(&msghdr);
1573 dev->address.length = msghdr.msg_namelen;
1606 process_cmsg(sock, &msghdr, dev);
1664 struct msghdr msghdr;
1670 build_msghdr_send(sock, dev, &msghdr, iov, &write_count);
1673 cc = sendmsg(sock->fd, &msghdr, 0);