Searched refs:mhdr (Results 1 – 6 of 6) sorted by relevance
/external/toybox/toys/pending/ |
D | ip.c | 100 static int filter_nlmesg(int (*fun)(struct nlmsghdr *mhdr, char **), char **); 548 struct nlmsghdr mhdr; in linkupdate() member 578 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in linkupdate() 579 request.mhdr.nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK; in linkupdate() 581 request.mhdr.nlmsg_flags |= NLM_F_CREATE|NLM_F_EXCL; in linkupdate() 582 request.mhdr.nlmsg_type = RTM_NEWLINK; in linkupdate() 584 request.mhdr.nlmsg_type = RTM_DELLINK; in linkupdate() 588 attr = NLMSG_TAIL(&request.mhdr); in linkupdate() 590 add_string_to_rtattr(&request.mhdr, sizeof(request), in linkupdate() 592 add_string_to_rtattr(&request.mhdr, sizeof(request), in linkupdate() [all …]
|
/external/iputils/ |
D | ping6.c | 1419 struct msghdr mhdr; in send_probe() local 1425 memset(&mhdr, 0, sizeof(mhdr)); in send_probe() 1426 mhdr.msg_name = &whereto; in send_probe() 1427 mhdr.msg_namelen = sizeof(struct sockaddr_in6); in send_probe() 1428 mhdr.msg_iov = &iov; in send_probe() 1429 mhdr.msg_iovlen = 1; in send_probe() 1430 mhdr.msg_control = cmsgbuf; in send_probe() 1431 mhdr.msg_controllen = cmsglen; in send_probe() 1433 cc = sendmsg(icmp_sock, &mhdr, confirm); in send_probe()
|
/external/valgrind/include/vki/ |
D | vki-darwin.h | 204 #define VKI_CMSG_FIRSTHDR(mhdr) CMSG_FIRSTHDR(mhdr) argument 205 #define VKI_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) argument
|
D | vki-solaris.h | 1082 #define VKI_CMSG_FIRSTHDR(mhdr) CMSG_FIRSTHDR(mhdr) argument 1083 #define VKI_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) argument
|
D | vki-linux.h | 660 #define VKI_CMSG_NXTHDR(mhdr, cmsg) vki_cmsg_nxthdr((mhdr), (cmsg)) argument
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 240 ipc_msg_hdr mhdr[1]; member 375 reply->mhdr->version = VERSION; in create_reply() 376 reply->mhdr->datalen = (mDNSu32)datalen; in create_reply() 377 reply->mhdr->ipc_flags = 0; in create_reply() 378 reply->mhdr->op = op; in create_reply() 379 reply->mhdr->client_context = request->hdr.client_context; in create_reply() 380 reply->mhdr->reg_index = 0; in create_reply() 903 reply->mhdr->client_context = re->regrec_client_context; in regrecord_callback() 4639 ConvertHeaderBytes(rep->mhdr); in send_msg() 4640 nwriten = send(req->sd, (char *)&rep->mhdr + rep->nwriten, rep->totallen - rep->nwriten, 0); in send_msg() [all …]
|