Lines Matching refs:nlmsg_len
103 req.nlh.nlmsg_len = sizeof(req); in rtnl_wilddump_request()
144 if (h->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) in rtnl_send_check()
170 nlh.nlmsg_len = NLMSG_LENGTH(len); in rtnl_dump_request()
233 if (h->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) { in rtnl_dump_filter_l()
286 .iov_len = n->nlmsg_len in rtnl_talk()
337 int len = h->nlmsg_len; in rtnl_talk()
366 memcpy(answer, h, h->nlmsg_len); in rtnl_talk()
374 memcpy(answer, h, h->nlmsg_len); in rtnl_talk()
439 int len = h->nlmsg_len; in rtnl_listen()
497 len = h->nlmsg_len; in rtnl_from_file()
559 if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) { in addattr_l()
567 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len); in addattr_l()
573 if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) { in addraw_l()
580 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len); in addraw_l()
595 return n->nlmsg_len; in addattr_nest_end()
614 return n->nlmsg_len; in addattr_nest_compat_end()