Home
last modified time | relevance | path

Searched refs:req_hdr (Results 1 – 5 of 5) sorted by relevance

/external/iputils/ninfod/
Dni_ifaddrs.c117 struct nlmsghdr *req_hdr; in nl_sendreq() local
124 req_hdr = (struct nlmsghdr *) reqbuf; in nl_sendreq()
125 req_msg = (struct rtgenmsg *) NLMSG_DATA(req_hdr); in nl_sendreq()
126 req_hdr->nlmsg_len = NLMSG_LENGTH(sizeof(*req_msg)); in nl_sendreq()
127 req_hdr->nlmsg_type = request; in nl_sendreq()
128 req_hdr->nlmsg_flags = flags | NLM_F_REQUEST; in nl_sendreq()
129 req_hdr->nlmsg_pid = 0; in nl_sendreq()
130 req_hdr->nlmsg_seq = t; in nl_sendreq()
134 …return (sendto(sd, (void *) req_hdr, req_hdr->nlmsg_len, 0, (struct sockaddr *) &nladdr, sizeof(nl… in nl_sendreq()
/external/selinux/mcstrans/src/
Dmcstransd.c185 struct iovec req_hdr[3]; in service_request() local
195 req_hdr[0].iov_base = &function; in service_request()
196 req_hdr[0].iov_len = sizeof(function); in service_request()
197 req_hdr[1].iov_base = &data1_size; in service_request()
198 req_hdr[1].iov_len = sizeof(data1_size); in service_request()
199 req_hdr[2].iov_base = &data2_size; in service_request()
200 req_hdr[2].iov_len = sizeof(data2_size); in service_request()
202 while (((count = readv(fd, req_hdr, 3)) < 0) && (errno == EINTR)); in service_request()
/external/u-boot/drivers/misc/
Dcros_ec_sandbox.c283 struct ec_host_request *req_hdr, const void *req_data, in process_cmd() argument
289 debug("EC command %#0x\n", req_hdr->command); in process_cmd()
291 switch (req_hdr->command) { in process_cmd()
461 printf(" ** Unknown EC command %#02x\n", req_hdr->command); in process_cmd()
472 struct ec_host_request *req_hdr = (struct ec_host_request *)dev->dout; in cros_ec_sandbox_packet() local
473 const void *req_data = req_hdr + 1; in cros_ec_sandbox_packet()
478 len = process_cmd(ec, req_hdr, req_data, resp_hdr, resp_data); in cros_ec_sandbox_packet()
/external/wpa_supplicant_8/src/radius/
Dradius.h246 const struct radius_hdr *req_hdr);
Dradius.c441 const struct radius_hdr *req_hdr) in radius_msg_finish_das_resp() argument
457 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16); in radius_msg_finish_das_resp()