nftnl_expr_counter(3)

πŸ’– nftnl_expr_counter β€” a whole manual page, bestie πŸ’–

okay so you're reading the nftnl_expr_counter(3) page from the Library Functions Manual, and honestly? It's a short one, but it's iconic in its own tiny way. Think of it as the little struct that keeps receipts. Not me being obsessed with a counter. πŸ™ˆ


✨ NAME ✨

nftnl_expr_counter β€” that's it, that's the name, that's the whole vibe. She's a struct and she knows it. πŸ’…


🌸 SYNOPSIS 🌸

Data Fields

  • uint64_t pkts β€” the packet count, living her best life as an unsigned 64-bit integer.
  • uint64_t bytes β€” the byte count, also a uint64_t, also thriving. πŸ¦‹

πŸŽ€ Detailed Description πŸŽ€

Definition at line 21 of file expr/counter.c.

That's the whole lore. Line 21. expr/counter.c. Periodt. πŸ‘‘


πŸ’œ Field Documentation πŸ’œ

uint64_t nftnl_expr_counter::bytes

Definition at line 23 of file expr/counter.c.

uint64_t nftnl_expr_counter::pkts

Definition at line 22 of file expr/counter.c.

lowkey note the order bestie β€” pkts is line 22, bytes is line 23. They're alphabetized in the docs but the source says packets first. iykyk. πŸ“

🫢 Author 🫢

Generated automatically by Doxygen for libnftnl from the source code. So like… no human wrote this, a robot did, and the robot ate. πŸ€–βœ¨


okay and before you go β€” this whole thing came to you courtesy of libnftnl, Version 1.3.1, and that footer? That's the cute little sign-off. Byeee, go count some packets bestie πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from