Home
last modified time | relevance | path

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

/openthread-3.4.0/src/posix/platform/
Dnetif.cpp347 struct rtattr *rta; in AddRtAttr() local
352 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() local
1098 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 …]