Lines Matching refs:rtattr

170 static void print_queuelen(FILE *f, struct rtattr *tb[IFLA_MAX + 1])  in print_queuelen()
201 static void print_linkmode(FILE *f, struct rtattr *tb) in print_linkmode()
211 static char *parse_link_kind(struct rtattr *tb) in parse_link_kind()
213 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in parse_link_kind()
223 static void print_linktype(FILE *fp, struct rtattr *tb) in print_linktype()
225 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in print_linktype()
241 struct rtattr *attr[lu->maxattr+1], **data = NULL; in print_linktype()
264 struct rtattr *attr[slave_lu->maxattr+1], **data = NULL; in print_linktype()
276 static void print_af_spec(FILE *fp, struct rtattr *af_spec_attr) in print_af_spec()
278 struct rtattr *inet6_attr; in print_af_spec()
279 struct rtattr *tb[IFLA_INET6_MAX + 1]; in print_af_spec()
309 static void print_vf_stats64(FILE *fp, struct rtattr *vfstats);
311 static void print_vfinfo(FILE *fp, struct rtattr *vfinfo) in print_vfinfo()
318 struct rtattr *vf[IFLA_VF_MAX + 1] = {}; in print_vfinfo()
319 struct rtattr *tmp; in print_vfinfo()
336 tmp = (struct rtattr *)((char *)vf[IFLA_VF_TX_RATE] + in print_vfinfo()
348 tmp = (struct rtattr *)((char *)vf[IFLA_VF_SPOOFCHK] + in print_vfinfo()
434 static void print_vf_stats64(FILE *fp, struct rtattr *vfstats) in print_vf_stats64()
436 struct rtattr *vf[IFLA_VF_STATS_MAX + 1] = {}; in print_vf_stats64()
465 const struct rtattr *carrier_changes) in print_link_stats64()
529 const struct rtattr *carrier_changes) in print_link_stats32()
591 static void __print_link_stats(FILE *fp, struct rtattr **tb) in __print_link_stats()
604 struct rtattr * tb[IFLA_MAX+1]; in print_link_stats()
617 struct rtattr * tb[IFLA_MAX+1]; in print_linkinfo_brief()
718 struct rtattr * tb[IFLA_MAX+1]; in print_linkinfo()
893 struct rtattr *i, *vflist = tb[IFLA_VFINFO_LIST]; in print_linkinfo()
935 struct rtattr *ifa_flags_attr) in get_ifa_flags()
950 struct rtattr * rta_tb[IFA_MAX+1]; in print_addrinfo()
1347 struct rtattr *tb[IFA_MAX + 1]; in ipaddr_filter()
1670 ipaddr_loop_each_vf(struct rtattr *tb[], int vfnum, int *min, int *max) in ipaddr_loop_each_vf()
1672 struct rtattr *vflist = tb[IFLA_VFINFO_LIST]; in ipaddr_loop_each_vf()
1673 struct rtattr *i, *vf[IFLA_VF_MAX+1]; in ipaddr_loop_each_vf()
1695 struct rtattr *tb[IFLA_MAX+1]; in ipaddr_get_vf_rate()