Searched refs:ack_len (Results 1 – 2 of 2) sorted by relevance
288 int ack_len = sizeof(*nlh) + sizeof(int) + sizeof(*nlh); in error_handler() local308 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()
319 size_t ack_len, attr_len; in ack_handler_cookie() local322 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() local366 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()