Searched refs:subrta (Results 1 – 1 of 1) sorted by relevance
611 struct rtattr *subrta; in rta_addattr32() local617 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr32()618 subrta->rta_type = type; in rta_addattr32()619 subrta->rta_len = len; in rta_addattr32()620 memcpy(RTA_DATA(subrta), &data, 4); in rta_addattr32()628 struct rtattr *subrta; in rta_addattr_l() local635 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr_l()636 subrta->rta_type = type; in rta_addattr_l()637 subrta->rta_len = len; in rta_addattr_l()638 memcpy(RTA_DATA(subrta), data, alen); in rta_addattr_l()