Home
last modified time | relevance | path

Searched refs:response_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
115 response_buf = NULL; in rmnetctl_transact()
136 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact()
137 if (!response_buf) { in rmnetctl_transact()
147 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact()
169 free(response_buf); in rmnetctl_transact()
175 response_buf, in rmnetctl_transact()
183 free(response_buf); in rmnetctl_transact()
187 memcpy(response, (void *)NLMSG_DATA(response_buf), in rmnetctl_transact()
192 free(response_buf); in rmnetctl_transact()
[all …]