Lines Matching refs:rta_len
126 req.ext_req.rta_len = RTA_LENGTH(sizeof(__u32)); in rtnl_wilddump_req_filter()
662 rta->rta_len = len; in addattr_l()
691 nest->rta_len = (void *)NLMSG_TAIL(n) - (void *)nest; in addattr_nest_end()
707 struct rtattr *nest = (void *)start + NLMSG_ALIGN(start->rta_len); in addattr_nest_compat_end()
709 start->rta_len = (void *)NLMSG_TAIL(n) - (void *)start; in addattr_nest_compat_end()
719 if (RTA_ALIGN(rta->rta_len) + len > maxlen) { in rta_addattr32()
723 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr32()
725 subrta->rta_len = len; in rta_addattr32()
727 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + len; in rta_addattr32()
737 if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) { in rta_addattr_l()
741 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr_l()
743 subrta->rta_len = len; in rta_addattr_l()
745 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + RTA_ALIGN(len); in rta_addattr_l()
775 nest->rta_len = (void *)RTA_TAIL(rta) - (void *)nest; in rta_nest_end()
777 return rta->rta_len; in rta_nest_end()
798 fprintf(stderr, "!!!Deficit %d, rta_len=%d\n", len, rta->rta_len); in parse_rtattr_flags()
813 fprintf(stderr, "!!!Deficit %d, rta_len=%d\n", len, rta->rta_len); in parse_rtattr_byindex()
825 fprintf(stderr, "!!!Deficit %d, rta_len=%d\n", len, rta->rta_len); in parse_rtattr_one()