Lines Matching refs:RTA_DATA
89 memcpy(RTA_DATA(rt), attr, len); in addAttr()
172 if (FLAG(n)) inet_ntop(f, RTA_DATA(rteattr), dest, sizeof(dest)); in display_routes()
173 else get_hostname(f, RTA_DATA(rteattr), dest, sizeof(dest)); in display_routes()
177 if (FLAG(n)) inet_ntop(f, RTA_DATA(rteattr), gate, sizeof(dest)); in display_routes()
178 else get_hostname(f, RTA_DATA(rteattr), gate, sizeof(dest)); in display_routes()
183 priority = *(unsigned *)RTA_DATA(rteattr); in display_routes()
187 if_indextoname(*(int *)RTA_DATA(rteattr), if_name); in display_routes()
192 for (metric = RTA_DATA(rteattr); RTA_OK(metric, metric_len); in display_routes()
195 mss = *(unsigned *)RTA_DATA(metric); in display_routes()
197 win = *(unsigned *)RTA_DATA(metric); in display_routes()
199 irtt = (*(unsigned *)RTA_DATA(metric))/8; in display_routes()
203 cache_info = RTA_DATA(rteattr); in display_routes()