skb_find_text(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

skb_find_text β€” find a text pattern in skb data, bestie. This page is skb_find_text(9), straight outta the Kernel API Manual, and it's giving search-but-make-it-kernel. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so here's the exact signature, copy it like your life depends on it:

unsigned int skb_find_text (struct sk_buff *skb , unsigned int from ,
       unsigned int to , struct ts_config *config );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the buffer to look in. Like, the actual place we're snooping. πŸ‘€
  • from β€” search offset.
  • to β€” search limit.
  • config β€” textsearch configuration.

🌸 DESCRIPTION 🌸

So skb_find_text finds a pattern in the skb data according to the specified textsearch configuration. That's the whole quest. ✨ Use textsearch_next to retrieve subsequent occurrences of the pattern β€” yes, there can be more than one, bestie. It returns the offset to the first occurrence or UINT_MAX if no match was found. No cap. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./net/core/skbuff.c. Here's the linked-up squad, all present and accounted for:


🫢 That's the whole page, bestie. Source/version line: ./net/core; date: October 2026; page name: skb_find_text(9). Slay. πŸ’…
πŸ“¦ where this page comes from