Lines Matching refs:RTA_DATA

175 		qlen = *(int *)RTA_DATA(tb[IFLA_TXQLEN]);  in print_queuelen()
218 return RTA_DATA(linkinfo[IFLA_INFO_KIND]); in parse_link_kind()
234 kind = RTA_DATA(linkinfo[IFLA_INFO_KIND]); in print_linktype()
257 slave_kind = RTA_DATA(linkinfo[IFLA_INFO_SLAVE_KIND]); in print_linktype()
329 vf_mac = RTA_DATA(vf[IFLA_VF_MAC]); in print_vfinfo()
330 vf_vlan = RTA_DATA(vf[IFLA_VF_VLAN]); in print_vfinfo()
331 vf_tx_rate = RTA_DATA(vf[IFLA_VF_TX_RATE]); in print_vfinfo()
342 vf_spoofchk = RTA_DATA(vf[IFLA_VF_SPOOFCHK]); in print_vfinfo()
354 vf_linkstate = RTA_DATA(vf[IFLA_VF_LINK_STATE]); in print_vfinfo()
369 struct ifla_vf_rate *vf_rate = RTA_DATA(vf[IFLA_VF_RATE]); in print_vfinfo()
450 print_num(fp, 10, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_RX_BYTES])); in print_vf_stats64()
451 print_num(fp, 8, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_RX_PACKETS])); in print_vf_stats64()
452 print_num(fp, 7, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_MULTICAST])); in print_vf_stats64()
453 print_num(fp, 7, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_BROADCAST])); in print_vf_stats64()
460 print_num(fp, 10, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_TX_BYTES])); in print_vf_stats64()
461 print_num(fp, 8, *(__u64 *)RTA_DATA(vf[IFLA_VF_STATS_TX_PACKETS])); in print_vf_stats64()
524 print_num(fp, 7, *(uint32_t*)RTA_DATA(carrier_changes)); in print_link_stats64()
587 print_num(fp, 7, *(uint32_t*)RTA_DATA(carrier_changes)); in print_link_stats32()
594 print_link_stats64(fp, RTA_DATA(tb[IFLA_STATS64]), in __print_link_stats()
597 print_link_stats32(fp, RTA_DATA(tb[IFLA_STATS]), in __print_link_stats()
641 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0)) in print_linkinfo_brief()
645 int group = *(int*)RTA_DATA(tb[IFLA_GROUP]); in print_linkinfo_brief()
651 int master = *(int*)RTA_DATA(tb[IFLA_MASTER]); in print_linkinfo_brief()
676 int iflink = *(int*)RTA_DATA(tb[IFLA_LINK]); in print_linkinfo_brief()
697 ll_addr_n2a(RTA_DATA(tb[IFLA_ADDRESS]), in print_linkinfo_brief()
740 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0)) in print_linkinfo()
744 int group = *(int*)RTA_DATA(tb[IFLA_GROUP]); in print_linkinfo()
750 int master = *(int*)RTA_DATA(tb[IFLA_MASTER]); in print_linkinfo()
777 int iflink = *(int*)RTA_DATA(tb[IFLA_LINK]); in print_linkinfo()
795 fprintf(fp, "mtu %u ", *(int*)RTA_DATA(tb[IFLA_MTU])); in print_linkinfo()
800 fprintf(fp, "master %s ", ll_idx_n2a(*(int*)RTA_DATA(tb[IFLA_MASTER]), b1)); in print_linkinfo()
806 hexstring_n2a(RTA_DATA(tb[IFLA_PHYS_PORT_ID]), in print_linkinfo()
814 hexstring_n2a(RTA_DATA(tb[IFLA_PHYS_SWITCH_ID]), in print_linkinfo()
827 int group = *(int*)RTA_DATA(tb[IFLA_GROUP]); in print_linkinfo()
841 ll_addr_n2a(RTA_DATA(tb[IFLA_ADDRESS]), in print_linkinfo()
851 fprintf(fp, "%s", ll_addr_n2a(RTA_DATA(tb[IFLA_BROADCAST]), in print_linkinfo()
859 int id = *(int*)RTA_DATA(tb[IFLA_LINK_NETNSID]); in print_linkinfo()
874 *(int*)RTA_DATA(tb[IFLA_PROMISCUITY])); in print_linkinfo()
895 for (i = RTA_DATA(vflist); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) in print_linkinfo()
985 label = RTA_DATA(rta_tb[IFA_LABEL]); in print_addrinfo()
996 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo()
1044 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1049 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1054 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1058 memcmp(RTA_DATA(rta_tb[IFA_ADDRESS]), RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1065 RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1078 RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1085 RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1138 struct ifa_cacheinfo *ci = RTA_DATA(rta_tb[IFA_CACHEINFO]); in print_addrinfo()
1371 memcpy(&dst.data, RTA_DATA(tb[IFA_LOCAL]), RTA_PAYLOAD(tb[IFA_LOCAL])); in ipaddr_filter()
1379 label = RTA_DATA(tb[IFA_LABEL]); in ipaddr_filter()
1679 for (i = RTA_DATA(vflist); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) { in ipaddr_loop_each_vf()
1681 vf_rate = RTA_DATA(vf[IFLA_VF_RATE]); in ipaddr_loop_each_vf()