rte_regexdev_rule(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

✨ rte_regexdev_rule πŸ’…

okay bestie, we're diving into rte_regexdev_rule(3) from the DPDK library functions manual β€” it's giving "tiny struct, big responsibilities" and honestly? iconic. πŸŽ€

🌸 NAME 🌸

rte_regexdev_rule β€” the struct that holds all the attributes for a RegEx rule, no cap.

✨ SYNOPSIS ✨

#include <rte_regexdev.h>

πŸ¦‹ Data Fields πŸ¦‹

  • enum rte_regexdev_rule_op op
  • uint16_t group_id
  • uint32_t rule_id
  • const char * pcre_rule
  • uint16_t pcre_rule_len

πŸ’– Detailed Description πŸ’–

So this is literally the structure that holds a RegEx rule's attributes. That's it, that's the vibe. 🫢

Definition at line 954 of file rte_regexdev.h.

πŸ‘‘ Field Documentation πŸ‘‘

πŸ“ enum rte_regexdev_rule_op op

The OP type of the rule β€” it's either a OP_ADD or a OP_DELETE, pick your fighter. βš”οΈ

Definition at line 955 of file rte_regexdev.h.

🌈 uint16_t group_id

The group identifier that this rule belongs to. It's giving found family. 🧚

Definition at line 957 of file rte_regexdev.h.

⭐ uint32_t rule_id

The rule identifier, which gets returned to you on a successful match. Like a little "you did it" receipt. πŸ’Œ

Definition at line 959 of file rte_regexdev.h.

πŸ’œ const char* pcre_rule

Buffer that holds the PCRE rule itself. The main character, fr fr. πŸ‘‘

Definition at line 961 of file rte_regexdev.h.

πŸ”₯ uint16_t pcre_rule_len

The length of the PCRE rule β€” because even baddies need boundaries. πŸ’…

Definition at line 963 of file rte_regexdev.h.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. Not me writing this by hand, the machines ate and left no crumbs. 😭✨


mwah, that's a wrap bestie 🫢 β€” this little page came to you courtesy of DPDK, Version 26.03.0, and the manpage magic that is rte_regexdev_rule(3). slay responsibly. πŸ’–

πŸ“¦ where this page comes from