Home
last modified time | relevance | path

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

/external/iw/
Diw.c288 int ack_len = sizeof(*nlh) + sizeof(int) + sizeof(*nlh); in error_handler() local
308 ack_len += err->msg.nlmsg_len - sizeof(*nlh); in error_handler()
310 if (len <= ack_len) in error_handler()
313 attrs = (void *)((unsigned char *)nlh + ack_len); in error_handler()
314 len -= ack_len; in error_handler()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c319 size_t ack_len, attr_len; in ack_handler_cookie() local
322 ack_len = sizeof(struct nlmsghdr) + sizeof(int) + in ack_handler_cookie()
327 if (nlmsg_hdr(msg)->nlmsg_len <= ack_len) in ack_handler_cookie()
330 attr_len = nlmsg_hdr(msg)->nlmsg_len - ack_len; in ack_handler_cookie()
358 int ack_len = sizeof(*nlh) + sizeof(int) + sizeof(*nlh); in error_handler() local
366 ack_len += err->msg.nlmsg_len - sizeof(*nlh); in error_handler()
368 if (len <= ack_len) in error_handler()
371 attrs = (void *) ((unsigned char *) nlh + ack_len); in error_handler()
372 len -= ack_len; in error_handler()