Lines Matching refs:NLMSG_ALIGN
723 remain -= NLMSG_ALIGN(len); in nfnl_listen()
724 h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len)); in nfnl_listen()
855 status -= NLMSG_ALIGN(len); in nfnl_talk()
856 h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len)); in nfnl_talk()
885 if ((NLMSG_ALIGN(n->nlmsg_len) + len) > maxlen) { in nfnl_addattr_l()
894 n->nlmsg_len = (NLMSG_ALIGN(n->nlmsg_len) + NFA_ALIGN(len)); in nfnl_addattr_l()
1270 int attrlen = nlh->nlmsg_len - NLMSG_ALIGN(min_len); in nfnl_check_attributes()
1305 if (nlh->nlmsg_len < NLMSG_LENGTH(NLMSG_ALIGN(sizeof(struct nfgenmsg)))) in __nfnl_handle_msg()
1334 rlen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnl_handle_packet()
1353 if (nlh->nlmsg_len < NLMSG_ALIGN(sizeof(struct nlmsgerr))) { in nfnl_is_error()
1408 int len = nlh->nlmsg_len - NLMSG_ALIGN(min_len); in nfnl_step()