Searched refs:NFTA_COUNTER_PACKETS (Results 1 – 3 of 3) sorted by relevance
71 if (tb[NFTA_COUNTER_PACKETS]) { in nft_counter_do_init()73 be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS])); in nft_counter_do_init()157 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()179 [NFTA_COUNTER_PACKETS] = { .type = NLA_U64 },
1751 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts), in nft_dump_stats()2008 [NFTA_COUNTER_PACKETS] = { .type = NLA_U64 },2024 if (!tb[NFTA_COUNTER_BYTES] || !tb[NFTA_COUNTER_PACKETS]) in nft_stats_alloc()2037 stats->pkts = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS])); in nft_stats_alloc()
1248 NFTA_COUNTER_PACKETS, enumerator