Searched refs:ifsm (Results 1 – 5 of 5) sorted by relevance
/external/iproute2/bridge/ |
D | vlan.c | 286 struct if_stats_msg *ifsm = NLMSG_DATA(n); in print_vlan_stats() local 291 len -= NLMSG_LENGTH(sizeof(*ifsm)); in print_vlan_stats() 297 if (filter_index && filter_index != ifsm->ifindex) in print_vlan_stats() 300 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in print_vlan_stats() 305 ifsm->ifindex); in print_vlan_stats() 309 ifsm->ifindex); in print_vlan_stats()
|
/external/iproute2/ip/ |
D | iplink_bridge.c | 763 struct if_stats_msg *ifsm = NLMSG_DATA(n); in bridge_print_xstats() local 768 len -= NLMSG_LENGTH(sizeof(*ifsm)); in bridge_print_xstats() 773 if (filter_index && filter_index != ifsm->ifindex) in bridge_print_xstats() 776 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in bridge_print_xstats() 779 ifsm->ifindex); in bridge_print_xstats() 783 ifsm->ifindex); in bridge_print_xstats()
|
D | iplink.c | 1478 struct if_stats_msg *ifsm = NLMSG_DATA(n); in print_af_stats() local 1484 len -= NLMSG_LENGTH(sizeof(*ifsm)); in print_af_stats() 1490 if (ctx->ifindex && ifsm->ifindex != ctx->ifindex) in print_af_stats() 1493 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in print_af_stats() 1496 print_af_stats_attr(fp, ifsm->ifindex, tb[IFLA_STATS_AF_SPEC]); in print_af_stats()
|
/external/iproute2/misc/ |
D | ifstat.c | 117 struct if_stats_msg *ifsm = NLMSG_DATA(m); in get_nlmsg_extended() local 125 len -= NLMSG_LENGTH(sizeof(*ifsm)); in get_nlmsg_extended() 129 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in get_nlmsg_extended() 137 n->ifindex = ifsm->ifindex; in get_nlmsg_extended() 138 n->name = strdup(ll_index_to_name(ifsm->ifindex)); in get_nlmsg_extended()
|
/external/iproute2/lib/ |
D | libnetlink.c | 261 struct if_stats_msg ifsm; in rtnl_wilddump_stats_req_filter() member 270 req.ifsm.family = fam; in rtnl_wilddump_stats_req_filter() 271 req.ifsm.filter_mask = filt_mask; in rtnl_wilddump_stats_req_filter()
|