Searched defs:rta (Results 1 - 2 of 2) sorted by relevance

/system/core/libsysutils/src/
H A DNetlinkEvent.cpp140 struct rtattr *rta; local
141 for (rta = IFLA_RTA(ifi); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) {
142 switch(rta->rta_type) {
144 asprintf(&mParams[0], "INTERFACE=%s", (char *) RTA_DATA(rta));
177 struct rtattr *rta; local
179 for (rta = IFA_RTA(ifaddr); RTA_OK(rta, le
345 struct rtattr *rta; local
[all...]
/system/core/libnetutils/
H A Difc_utils.c266 struct rtattr *rta; local
313 rta = (struct rtattr *) (((char *) &req) + NLMSG_ALIGN(req.n.nlmsg_len));
314 rta->rta_type = IFA_LOCAL;
315 rta->rta_len = RTA_LENGTH(addrlen);
317 memcpy(RTA_DATA(rta), addr, addrlen);

Completed in 59 milliseconds