Searched refs:rta (Results 1 – 1 of 1) sorted by relevance
347 struct rtattr *rta; in AddRtAttr() local352 rta = (struct rtattr *)((char *)(aHeader) + NLMSG_ALIGN((aHeader)->nlmsg_len)); in AddRtAttr()353 rta->rta_type = aType; in AddRtAttr()354 rta->rta_len = len; in AddRtAttr()357 memcpy(RTA_DATA(rta), aData, aLen); in AddRtAttr()361 return rta; in AddRtAttr()1097 …for (struct rtattr *rta = reinterpret_cast<struct rtattr *>(IFA_RTA(ifaddr)); RTA_OK(rta, rtaLengt… in processNetifAddrEvent() local1098 rta = RTA_NEXT(rta, rtaLength)) in processNetifAddrEvent()1100 switch (rta->rta_type) in processNetifAddrEvent()1109 memcpy(&addr, RTA_DATA(rta), sizeof(addr)); in processNetifAddrEvent()[all …]