Home
last modified time | relevance | path

Searched refs:subrta (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/lib/
Dlibnetlink.c717 struct rtattr *subrta; in rta_addattr32() local
723 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr32()
724 subrta->rta_type = type; in rta_addattr32()
725 subrta->rta_len = len; in rta_addattr32()
726 memcpy(RTA_DATA(subrta), &data, 4); in rta_addattr32()
734 struct rtattr *subrta; in rta_addattr_l() local
741 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in rta_addattr_l()
742 subrta->rta_type = type; in rta_addattr_l()
743 subrta->rta_len = len; in rta_addattr_l()
744 memcpy(RTA_DATA(subrta), data, alen); in rta_addattr_l()
/external/dhcpcd-6.8.2/
Dif-linux.c1503 struct rtattr *subrta; in rta_add_attr_32() local
1510 subrta = (struct rtattr*)(void *) in rta_add_attr_32()
1512 subrta->rta_type = type; in rta_add_attr_32()
1513 subrta->rta_len = len; in rta_add_attr_32()
1514 memcpy(RTA_DATA(subrta), &data, sizeof(data)); in rta_add_attr_32()