• Home
  • Raw
  • Download

Lines Matching refs:mParams

66     memset(mParams, 0, sizeof(mParams));  in NetlinkEvent()
78 if (!mParams[i]) in ~NetlinkEvent()
80 free(mParams[i]); in ~NetlinkEvent()
88 if (!mParams[i]) in dump()
90 SLOGD("NL param '%s'\n", mParams[i]); in dump()
158 asprintf(&mParams[0], "INTERFACE=%s", (char *) RTA_DATA(rta)); in parseIfInfoMessage()
164 asprintf(&mParams[1], "IFINDEX=%d", ifi->ifi_index); in parseIfInfoMessage()
263 asprintf(&mParams[0], "ADDRESS=%s/%d", addrstr, ifaddr->ifa_prefixlen); in parseIfAddrMessage()
264 asprintf(&mParams[1], "INTERFACE=%s", ifname); in parseIfAddrMessage()
265 asprintf(&mParams[2], "FLAGS=%u", flags); in parseIfAddrMessage()
266 asprintf(&mParams[3], "SCOPE=%u", ifaddr->ifa_scope); in parseIfAddrMessage()
267 asprintf(&mParams[4], "IFINDEX=%u", ifaddr->ifa_index); in parseIfAddrMessage()
270 asprintf(&mParams[5], "PREFERRED=%u", cacheinfo->ifa_prefered); in parseIfAddrMessage()
271 asprintf(&mParams[6], "VALID=%u", cacheinfo->ifa_valid); in parseIfAddrMessage()
272 asprintf(&mParams[7], "CSTAMP=%u", cacheinfo->cstamp); in parseIfAddrMessage()
273 asprintf(&mParams[8], "TSTAMP=%u", cacheinfo->tstamp); in parseIfAddrMessage()
289 asprintf(&mParams[0], "ALERT_NAME=%s", pm->prefix); in parseUlogPacketMessage()
290 asprintf(&mParams[1], "INTERFACE=%s", devname); in parseUlogPacketMessage()
337 asprintf(&mParams[0], "UID=%d", uid); in parseNfPacketMessage()
338 mParams[1] = hex; in parseNfPacketMessage()
429 asprintf(&mParams[0], "ROUTE=%s/%d", dst, prefixLength); in parseRtMessage()
430 asprintf(&mParams[1], "GATEWAY=%s", (*gw) ? gw : ""); in parseRtMessage()
431 asprintf(&mParams[2], "INTERFACE=%s", (*dev) ? dev : ""); in parseRtMessage()
531 asprintf(&mParams[0], "INTERFACE=%s", ifname); in parseNdUserOptMessage()
532 asprintf(&mParams[1], "LIFETIME=%u", lifetime); in parseNdUserOptMessage()
533 asprintf(&mParams[2], "SERVERS=%s", buf); in parseNdUserOptMessage()
670 mParams[param_idx++] = strdup(s); in parseAsciiNetlinkMessage()
689 for (int i = 0; i < NL_PARAMS_MAX && mParams[i] != nullptr; ++i) { in findParam()
690 const char *ptr = mParams[i] + len; in findParam()
691 if (!strncmp(mParams[i], paramName, len) && *ptr == '=') in findParam()