Lines Matching refs:nlmsg_len
209 l = nlm->nlmsg_len - sizeof(*nlm);
233 len = nlm->nlmsg_len - sizeof(*nlm);
295 len = nlm->nlmsg_len - sizeof(*nlm);
349 len = nlm->nlmsg_len - sizeof(*nlm);
398 iov.iov_len = hdr->nlmsg_len;
416 ((struct rtattr *)(((ptrdiff_t)(nmsg))+NLMSG_ALIGN((nmsg)->nlmsg_len)))
425 if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
434 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len);
445 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) {
454 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + len;
482 nlm->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
526 nlm->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));