Home
last modified time | relevance | path

Searched refs:NFTA_COUNTER_PACKETS (Results 1 – 3 of 3) sorted by relevance

/linux/net/netfilter/
H A Dnft_counter.c74 if (tb[NFTA_COUNTER_PACKETS]) { in nft_counter_do_init()
76 be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS]))); in nft_counter_do_init()
161 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
183 [NFTA_COUNTER_PACKETS] = { .type = NLA_U64 },
H A Dnf_tables_api.c1915 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts), in nft_dump_stats()
2174 [NFTA_COUNTER_PACKETS] = { .type = NLA_U64 },
2190 if (!tb[NFTA_COUNTER_BYTES] || !tb[NFTA_COUNTER_PACKETS]) in nft_stats_alloc()
2203 stats->pkts = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS])); in nft_stats_alloc()
/linux/include/uapi/linux/netfilter/
H A Dnf_tables.h1264 NFTA_COUNTER_PACKETS, enumerator