Searched refs:subrta (Results 1 – 1 of 1) sorted by relevance
620 struct rtattr *subrta; in rta_addattr32() local626 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr32()627 subrta->rta_type = type; in rta_addattr32()628 subrta->rta_len = len; in rta_addattr32()629 memcpy(RTA_DATA(subrta), &data, 4); in rta_addattr32()637 struct rtattr *subrta; in rta_addattr_l() local644 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr_l()645 subrta->rta_type = type; in rta_addattr_l()646 subrta->rta_len = len; in rta_addattr_l()647 memcpy(RTA_DATA(subrta), data, alen); in rta_addattr_l()