Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DNetlinkEvent.cpp160 struct ifa_cacheinfo *cacheinfo = NULL; in parseIfAddrMessage() local
215 if (maybeLogDuplicateAttribute(cacheinfo, "IFA_CACHEINFO", msgtype)) in parseIfAddrMessage()
218 if (RTA_PAYLOAD(rta) < sizeof(*cacheinfo)) { in parseIfAddrMessage()
220 RTA_PAYLOAD(rta), sizeof(cacheinfo), msgtype); in parseIfAddrMessage()
224 cacheinfo = (struct ifa_cacheinfo *) RTA_DATA(rta); in parseIfAddrMessage()
242 if (cacheinfo) { in parseIfAddrMessage()
243 asprintf(&mParams[4], "PREFERRED=%u", cacheinfo->ifa_prefered); in parseIfAddrMessage()
244 asprintf(&mParams[5], "VALID=%u", cacheinfo->ifa_valid); in parseIfAddrMessage()
245 asprintf(&mParams[6], "CSTAMP=%u", cacheinfo->cstamp); in parseIfAddrMessage()
246 asprintf(&mParams[7], "TSTAMP=%u", cacheinfo->tstamp); in parseIfAddrMessage()