Lines Matching refs:rta_len
223 .ext_req.rta_len = RTA_LENGTH(sizeof(__u32)), in rtnl_wilddump_req_filter()
874 rta->rta_len = len; in addattr_l()
906 nest->rta_len = (void *)NLMSG_TAIL(n) - (void *)nest; in addattr_nest_end()
922 struct rtattr *nest = (void *)start + NLMSG_ALIGN(start->rta_len); in addattr_nest_compat_end()
924 start->rta_len = (void *)NLMSG_TAIL(n) - (void *)start; in addattr_nest_compat_end()
934 if (RTA_ALIGN(rta->rta_len) + len > maxlen) { in rta_addattr32()
940 subrta = (struct rtattr *)(((char *)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr32()
942 subrta->rta_len = len; in rta_addattr32()
944 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + len; in rta_addattr32()
954 if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) { in rta_addattr_l()
960 subrta = (struct rtattr *)(((char *)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr_l()
962 subrta->rta_len = len; in rta_addattr_l()
965 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + RTA_ALIGN(len); in rta_addattr_l()
995 nest->rta_len = (void *)RTA_TAIL(rta) - (void *)nest; in rta_nest_end()
997 return rta->rta_len; in rta_nest_end()
1019 len, rta->rta_len); in parse_rtattr_flags()
1036 len, rta->rta_len); in parse_rtattr_byindex()
1050 len, rta->rta_len); in parse_rtattr_one()