Searched refs:MAX_BUF_SIZE (Results 1 – 3 of 3) sorted by relevance
/device/moto/shamu/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 65 #define MAX_BUF_SIZE sizeof(struct nlmsghdr) + sizeof(struct rmnet_nl_msg_s) macro 114 request_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 120 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 130 memset(request_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 131 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 135 nlmsghdr_val->nlmsg_len = MAX_BUF_SIZE; in rmnetctl_transact() 146 MAX_BUF_SIZE, in rmnetctl_transact() 158 MAX_BUF_SIZE, in rmnetctl_transact()
|
/device/lge/bullhead/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 65 #define MAX_BUF_SIZE sizeof(struct nlmsghdr) + sizeof(struct rmnet_nl_msg_s) macro 128 request_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 134 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 144 memset(request_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 145 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 149 nlmsghdr_val->nlmsg_len = MAX_BUF_SIZE; in rmnetctl_transact() 161 MAX_BUF_SIZE, in rmnetctl_transact() 174 MAX_BUF_SIZE, in rmnetctl_transact()
|
/device/huawei/angler/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 65 #define MAX_BUF_SIZE sizeof(struct nlmsghdr) + sizeof(struct rmnet_nl_msg_s) macro 127 request_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 133 response_buf = (uint8_t *)malloc(MAX_BUF_SIZE * sizeof(uint8_t)); in rmnetctl_transact() 143 memset(request_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 144 memset(response_buf, 0, MAX_BUF_SIZE*sizeof(uint8_t)); in rmnetctl_transact() 148 nlmsghdr_val->nlmsg_len = MAX_BUF_SIZE; in rmnetctl_transact() 160 MAX_BUF_SIZE, in rmnetctl_transact() 173 MAX_BUF_SIZE, in rmnetctl_transact()
|