Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/
Dnlmon.c86 const struct pcpu_lstats *nl_stats; in nlmon_get_stats64() local
90 nl_stats = per_cpu_ptr(dev->lstats, i); in nlmon_get_stats64()
93 start = u64_stats_fetch_begin_irq(&nl_stats->syncp); in nlmon_get_stats64()
94 tbytes = nl_stats->bytes; in nlmon_get_stats64()
95 tpackets = nl_stats->packets; in nlmon_get_stats64()
96 } while (u64_stats_fetch_retry_irq(&nl_stats->syncp, start)); in nlmon_get_stats64()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ctl.c2872 struct nlattr *nl_stats = nla_nest_start(skb, container_type); in ip_vs_genl_fill_stats() local
2874 if (!nl_stats) in ip_vs_genl_fill_stats()
2888 nla_nest_end(skb, nl_stats); in ip_vs_genl_fill_stats()
2893 nla_nest_cancel(skb, nl_stats); in ip_vs_genl_fill_stats()
2900 struct nlattr *nl_stats = nla_nest_start(skb, container_type); in ip_vs_genl_fill_stats64() local
2902 if (!nl_stats) in ip_vs_genl_fill_stats64()
2916 nla_nest_end(skb, nl_stats); in ip_vs_genl_fill_stats64()
2921 nla_nest_cancel(skb, nl_stats); in ip_vs_genl_fill_stats64()