/freebsd-13-stable/usr.sbin/nscd/ |
H A D | nscdcli.c | 137 struct msghdr mhdr; local 150 memset(&mhdr, 0, sizeof(mhdr)); 151 mhdr.msg_iov = &iov; 152 mhdr.msg_iovlen = 1; 153 mhdr.msg_control = &cmsg; 154 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); 165 result = sendmsg(connection->sockfd, &mhdr, 0) == -1 ? -1 : 0;
|
H A D | query.c | 162 struct msghdr mhdr; local 170 memset(&mhdr, 0, sizeof(mhdr)); 171 mhdr.msg_iov = &iov; 172 mhdr.msg_iovlen = 1; 173 mhdr.msg_control = &cmsg; 174 mhdr.msg_controllen = sizeof(cmsg); 180 if (recvmsg(qstate->sockfd, &mhdr, 0) == -1) { 185 if (mhdr.msg_controllen != CMSG_SPACE(sizeof(struct cmsgcred)) ||
|
/freebsd-13-stable/lib/libc/net/ |
H A D | nscachedcli.c | 151 struct msghdr mhdr; local 163 memset(&mhdr, 0, sizeof(mhdr)); 164 mhdr.msg_iov = &iov; 165 mhdr.msg_iovlen = 1; 166 mhdr.msg_control = &cmsg; 167 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); 179 result = _sendmsg(connection->sockfd, &mhdr,
|
/freebsd-13-stable/crypto/openssl/crypto/asn1/ |
H A D | asn_mime.c | 48 static int mime_hdr_addparam(MIME_HEADER *mhdr, const char *name, const char *value); 637 MIME_HEADER *mhdr = NULL, *new_hdr = NULL; local 646 if (mhdr && ossl_isspace(linebuf[0])) 679 mhdr = new_hdr; 709 mime_hdr_addparam(mhdr, ntmp, strip_ends(q)); 736 mhdr = new_hdr; 739 mime_hdr_addparam(mhdr, ntmp, strip_ends(q)); 801 MIME_HEADER *mhdr = NULL; local 816 mhdr = OPENSSL_malloc(sizeof(*mhdr)); 832 mime_hdr_addparam(MIME_HEADER *mhdr, const char *name, const char *value) argument [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | socket.h | 553 #define CMSG_NXTHDR(mhdr, cmsg) \ 554 ((char *)(cmsg) == (char *)0 ? CMSG_FIRSTHDR(mhdr) : \ 557 (char *)(mhdr)->msg_control + (mhdr)->msg_controllen) ? \ 566 #define CMSG_FIRSTHDR(mhdr) \ 567 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 568 (struct cmsghdr *)(mhdr)->msg_control : \
|
/freebsd-13-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1032 wait_for_reply(int sock, struct msghdr *mhdr) argument 1043 cc = recvmsg(rcvsock, mhdr, 0); 1059 cc = recvmsg(rcvsock, mhdr, 0); 1221 get_hoplim(struct msghdr *mhdr) argument 1225 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm; 1226 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) { 1306 packet_ok(struct msghdr *mhdr, int cc, int seq, u_char *type, u_char *code) argument 1309 struct sockaddr_in6 *from = (struct sockaddr_in6 *)mhdr->msg_name; 1310 char *buf = (char *)mhdr->msg_iov[0].iov_base; 1350 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); c 1557 print(struct msghdr *mhdr, int cc) argument [all...] |
/freebsd-13-stable/sbin/ping/ |
H A D | ping6.c | 1581 pr_pack(u_char *buf, int cc, struct msghdr *mhdr) argument 1604 if (!mhdr || !mhdr->msg_name || 1605 mhdr->msg_namelen != sizeof(struct sockaddr_in6) || 1606 ((struct sockaddr *)mhdr->msg_name)->sa_family != AF_INET6) { 1611 from = (struct sockaddr *)mhdr->msg_name; 1612 fromlen = mhdr->msg_namelen; 1619 if (((mhdr->msg_flags & MSG_CTRUNC) != 0) && 1626 if ((hoplim = get_hoplim(mhdr)) == -1) { 1630 if ((pktinfo = get_rcvpktinfo(mhdr)) 1872 pr_exthdrs(struct msghdr *mhdr) argument 2206 get_hoplim(struct msghdr *mhdr) argument 2229 get_rcvpktinfo(struct msghdr *mhdr) argument 2251 get_pathmtu(struct msghdr *mhdr) argument [all...] |
/freebsd-13-stable/crypto/openssh/ |
H A D | defines.h | 558 #define CMSG_FIRSTHDR(mhdr) \ 559 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 560 (struct cmsghdr *)(mhdr)->msg_control : \
|
/freebsd-13-stable/sys/dev/virtio/network/ |
H A D | if_vtnetvar.h | 260 struct virtio_net_hdr_mrg_rxbuf mhdr; member in union:vtnet_tx_header::__anon14572
|
H A D | if_vtnet.c | 2075 struct virtio_net_hdr_mrg_rxbuf *mhdr = local 2077 nbufs = vtnet_htog16(sc, mhdr->num_buffers);
|