Lines Matching defs:rta
431 struct rtattr *rta;
434 rta = (struct rtattr*)(((char*)n) + NLMSG_ALIGN(n->nlmsg_len));
435 rta->rta_type = type;
436 rta->rta_len = len;
437 memcpy(RTA_DATA(rta), data, alen);
950 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,};
962 for (rta = IFA_RTA(ifa); RTA_OK(rta, len); rta=RTA_NEXT(rta, len))
963 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta;
1351 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,};
1365 for (rta = IFA_RTA(addressInfo); RTA_OK(rta, rt_len); rta=RTA_NEXT(rta, rt_len)) {
1366 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta;
1467 struct rtattr *rta, *attr[RTA_MAX+1] = {0,};
1503 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar))
1504 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta;
1600 struct rtattr *rta, *attr[RTA_MAX+1] = {0,};
1603 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar))
1604 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta;
1731 struct rtattr *rta, *attr[RTA_MAX+1] = {0,};
1737 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar))
1738 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta;
2221 struct rtattr *rta, *attr[RTA_MAX+1] = {0,};
2230 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar))
2231 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta;
2233 if (tvar) error_msg("deficit %d, rtalen = %d!", tvar, rta->rta_len);