Home
last modified time | relevance | path

Searched refs:mhdr (Results 1 – 7 of 7) sorted by relevance

/external/toybox/toys/pending/
Dip.c100 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/
Dping6.c1417 struct msghdr mhdr; in send_probe() local
1423 memset(&mhdr, 0, sizeof(mhdr)); in send_probe()
1424 mhdr.msg_name = &whereto; in send_probe()
1425 mhdr.msg_namelen = sizeof(struct sockaddr_in6); in send_probe()
1426 mhdr.msg_iov = &iov; in send_probe()
1427 mhdr.msg_iovlen = 1; in send_probe()
1428 mhdr.msg_control = cmsgbuf; in send_probe()
1429 mhdr.msg_controllen = cmsglen; in send_probe()
1431 cc = sendmsg(icmp_sock, &mhdr, confirm); in send_probe()
/external/openssh/
Ddefines.h553 #define CMSG_FIRSTHDR(mhdr) \ argument
554 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
555 (struct cmsghdr *)(mhdr)->msg_control : \
/external/u-boot/tools/
Dkwbimage.c1595 struct main_hdr_v0 *mhdr = (struct main_hdr_v0 *)ptr; in kwbimage_print_header() local
1598 image_boot_mode_name(mhdr->blockid)); in kwbimage_print_header()
1601 genimg_print_size(mhdr->blocksize - sizeof(uint32_t)); in kwbimage_print_header()
1602 printf("Load Address: %08x\n", mhdr->destaddr); in kwbimage_print_header()
1603 printf("Entry Point: %08x\n", mhdr->execaddr); in kwbimage_print_header()
/external/python/cpython2/Lib/plat-linux2/
DIN.py433 def CMSG_FIRSTHDR(mhdr): return \ argument
/external/mdnsresponder/mDNSShared/
Duds_daemon.c240 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()
4645 ConvertHeaderBytes(rep->mhdr); in send_msg()
4646 nwriten = send(req->sd, (char *)&rep->mhdr + rep->nwriten, rep->totallen - rep->nwriten, 0); in send_msg()
[all …]
/external/python/cpython2/Lib/plat-atheos/
DIN.py451 def CMSG_FIRSTHDR(mhdr): return \ argument