uselessfns(3)
π uselessfns π
okay bestie, so this is the uselessfns page from the library functions manual, and the name is lowkey a spoiler alert: these are internal functions. That's the whole NAME entry. That's it. We move. β¨
πΈ SYNOPSIS πΈ
β¨ Functions β¨
void pktb_push (struct pkt_buff *pktb, unsigned int len)
void pktb_pull (struct pkt_buff *pktb, unsigned int len)
void pktb_put (struct pkt_buff *pktb, unsigned int len)
void pktb_trim (struct pkt_buff *pktb, unsigned int len)
look at those four little gremlins. adorable. anywayβ
π¨ Detailed Description π¨
Warning π Do not use these functions. Instead, always use the mangle function appropriate to the level at which you are working.
no fr fr, hands off. π«Ά instead you reach for the mangle function that matches the level you're actually working at, okay?
and here's the tea: pktb_mangle() uses all the below functions except pktb_pull, which is not used by anything. π like, not one single thing. it's giving orphaned. it's giving ghosted. we still love her though.
π Function Documentation π
void pktb_pull (struct pkt_buff * pktb, unsigned int len)
pktb_pull β increment pointer to packet buffer π¦
Parameters
pktbβ Pointer to userspace packet bufferlenβ Number of bytes to add to packet start address
Definition at line 178 of file pktbuff.c. β
void pktb_push (struct pkt_buff * pktb, unsigned int len)
pktb_push β decrement pointer to packet buffer π
Parameters
pktbβ Pointer to userspace packet bufferlenβ Number of bytes to subtract from packet start address
Definition at line 166 of file pktbuff.c. β
void pktb_put (struct pkt_buff * pktb, unsigned int len)
pktb_put β add extra bytes to the tail of the packet buffer π
Parameters
pktbβ Pointer to userspace packet bufferlenβ Number of bytes to add to packet tail (and length)
Definition at line 190 of file pktbuff.c. β
void pktb_trim (struct pkt_buff * pktb, unsigned int len)
pktb_trim β set new length for this packet buffer βοΈ
Parameters
pktbβ Pointer to userspace packet bufferlenβ New packet length (tail is adjusted to reflect this)
Definition at line 201 of file pktbuff.c. β
π Author π
Generated automatically by Doxygen for libnetfilter_queue from the source code. not a human, just a robot doing its lil thing, and honestly? respect. π€β¨
and that's the whole page, babe β brought to you by libnetfilter_queue, Version 1.0.5, page uselessfns(3), manual name uselessfns, filed under Library Functions Manual. mwah. π
π¦ where this page comes from
- ubuntu noble: libnetfilter-queue-doc 1.0.5-4build1 Β· GPL-2.0-or-later
- ubuntu questing: libnetfilter-queue-doc 1.0.5-4build1
- ubuntu resolute: libnetfilter-queue-doc 1.0.5-4build2 Β· GPL-2.0-or-later
- ubuntu stonking: libnetfilter-queue-doc 1.0.5-4build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms