Lines Matching refs:NLMSG_ALIGN
353 status -= NLMSG_ALIGN(len);
354 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len));
380 status -= NLMSG_ALIGN(len);
381 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len));
455 status -= NLMSG_ALIGN(len);
456 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len));
506 status = fread(NLMSG_DATA(h), 1, NLMSG_ALIGN(l), rtnl);
559 if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
567 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len);
573 if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) {
579 memset((void *) NLMSG_TAIL(n) + len, 0, NLMSG_ALIGN(len) - len);
580 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len);
610 struct rtattr *nest = (void *)start + NLMSG_ALIGN(start->rta_len);
630 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + len;
648 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + RTA_ALIGN(len);