Home
last modified time | relevance | path

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

/device/google/marlin/dataservices/rmnetctl/src/
Dlibrmnetctl.c108 uint8_t *request_buf, *response_buf; in rmnetctl_transact() local
114 request_buf = NULL; in rmnetctl_transact()
130 request_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact()
131 if (!request_buf){ in rmnetctl_transact()
138 free(request_buf); in rmnetctl_transact()
143 nlmsghdr_val = (struct nlmsghdr *)request_buf; in rmnetctl_transact()
144 rmnet_nl_msg_s_val = (struct rmnet_nl_msg_s *)NLMSG_DATA(request_buf); in rmnetctl_transact()
146 memset(request_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact()
153 memcpy((void *)NLMSG_DATA(request_buf), request, in rmnetctl_transact()
162 request_buf, in rmnetctl_transact()
[all …]