Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
H A Dwrapper_decoder.cpp346 for (rtattr *rtAttr = IFA_RTA(addrMsg); RTA_OK(rtAttr, len); rtAttr = RTA_NEXT(rtAttr, len)) { in InterpreteAddressMsg() local
347 if (rtAttr == nullptr) { in InterpreteAddressMsg()
351 switch (rtAttr->rta_type) { in InterpreteAddressMsg()
360 !IsPayloadValidated(rtAttr, sizeof(*cacheInfo))) { in InterpreteAddressMsg()
363 cacheInfo = reinterpret_cast<ifa_cacheinfo *>(RTA_DATA(rtAttr)); in InterpreteAddressMsg()
366 flags = *(reinterpret_cast<uint32_t *>(RTA_DATA(rtAttr))); in InterpreteAddressMsg()
455 rtattr *rtAttr = nullptr; in InterpreteRtMsg() local
456 for (rtAttr = RTM_RTA(rtMsg); RTA_OK(rtAttr, (int)size); rtAttr = RTA_NEXT(rtAttr, size)) { in InterpreteRtMsg()
457 switch (rtAttr->rta_type) { in InterpreteRtMsg()
460 !inet_ntop(rtmFamily, RTA_DATA(rtAttr), gateWay, sizeof(gateWay))) { in InterpreteRtMsg()
[all …]