Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 2 of 2) sorted by relevance

/net/core/
A Dnetdev-genl.c591 static int netdev_stat_put(struct sk_buff *rsp, unsigned int attr_id, u64 value) in netdev_stat_put() argument
595 return nla_put_uint(rsp, attr_id, value); in netdev_stat_put()
A Drtnetlink.c5635 rtnl_offload_xstats_have_ndo(const struct net_device *dev, int attr_id) in rtnl_offload_xstats_have_ndo() argument
5640 dev->netdev_ops->ndo_has_offload_stats(dev, attr_id); in rtnl_offload_xstats_have_ndo()
5644 rtnl_offload_xstats_get_size_ndo(const struct net_device *dev, int attr_id) in rtnl_offload_xstats_get_size_ndo() argument
5646 return rtnl_offload_xstats_have_ndo(dev, attr_id) ? in rtnl_offload_xstats_get_size_ndo()
5651 rtnl_offload_xstats_fill_ndo(struct net_device *dev, int attr_id, in rtnl_offload_xstats_fill_ndo() argument
5654 unsigned int size = rtnl_offload_xstats_get_size_ndo(dev, attr_id); in rtnl_offload_xstats_fill_ndo()
5662 attr = nla_reserve_64bit(skb, attr_id, size, in rtnl_offload_xstats_fill_ndo()
5670 err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, attr_data); in rtnl_offload_xstats_fill_ndo()
5721 rtnl_offload_xstats_fill_hw_s_info_one(struct sk_buff *skb, int attr_id, in rtnl_offload_xstats_fill_hw_s_info_one() argument
5726 nest = nla_nest_start(skb, attr_id); in rtnl_offload_xstats_fill_hw_s_info_one()

Completed in 19 milliseconds