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

/system/core/libsysutils/src/
H A DNetlinkEvent.cpp143 struct rtattr *rta; local
144 for (rta = IFLA_RTA(ifi); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) {
145 switch(rta->rta_type) {
147 asprintf(&mParams[0], "INTERFACE=%s", (char *) RTA_DATA(rta));
180 struct rtattr *rta; local
182 for (rta = IFA_RTA(ifaddr); RTA_OK(rta, le
313 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 30 milliseconds