Lines Matching refs:request_buf
105 uint8_t *request_buf, *response_buf; in rmnetctl_transact() local
111 request_buf = NULL; in rmnetctl_transact()
127 request_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact()
128 if (!request_buf){ in rmnetctl_transact()
135 free(request_buf); in rmnetctl_transact()
140 nlmsghdr_val = (struct nlmsghdr *)request_buf; in rmnetctl_transact()
141 rmnet_nl_msg_s_val = (struct rmnet_nl_msg_s *)NLMSG_DATA(request_buf); in rmnetctl_transact()
143 memset(request_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact()
150 memcpy((void *)NLMSG_DATA(request_buf), request, in rmnetctl_transact()
159 request_buf, in rmnetctl_transact()
165 free(request_buf); in rmnetctl_transact()
179 free(request_buf); in rmnetctl_transact()
188 free(request_buf); in rmnetctl_transact()
195 free(request_buf); in rmnetctl_transact()
201 free(request_buf); in rmnetctl_transact()