Lines Matching defs:datalen
22 size_t bufsize, datalen;
32 size_t needed, offset, curlen = NLMSG_ALIGN(ctx->datalen);
78 ctx->datalen = 0;
147 iov.iov_len = ctx->datalen;
148 ret = safe_sendmsg(file, lineno, ctx->datalen, ctx->socket, &msg, 0);
254 * datalen may hold the size of last sent message for ACK
257 ctx->datalen = 0;
265 ctx->datalen = NLMSG_ALIGN(ctx->datalen);
277 ctx->datalen += ctx->curmsg->nlmsg_len;
304 ctx->datalen = NLMSG_ALIGN(ctx->datalen) + attr->rta_len;
331 offset = NLMSG_ALIGN(ctx->datalen);
349 if (ctx->datalen - offset > USHRT_MAX) {
355 attr->rta_len = ctx->datalen - offset;
366 int size_left = ctx->datalen;