nf_ct_iterate_destroy(9)
π nf_ct_iterate_destroy(9) π
okay so welcome to the Kernel API Manual, bestie π. This page is all about nf_ct_iterate_destroy, and itβs lowkey giving βcleanup eraβ energy: destroy unconfirmed conntracks and iterate table. Letβs get into it, no cap.
πΈ NAME πΈ
nf_ct_iterate_destroy β destroy unconfirmed conntracks and iterate table.
β¨ SYNOPSIS β¨
void nf_ct_iterate_destroy (int (*iter)(struct nf_conn *i, void *data) ,
void *data );
π ARGUMENTS π
iterβ callback to invoke for each conntrack. Itβs literally the function that gets called for every conntrack, iykyk.dataβ data to pass toiter. The little payload that rides along with the callback.
π DESCRIPTION π
Itβs like nf_ct_iterate_cleanup, but first it marks conntracks on the unconfirmed list as dying (so they will not be inserted into main table). Very βclean up before the main character entranceβ energy, honestly.
π¨ Warning, bestie: it can only be called in module exit path. Thatβs the rule. No cap.
π₯ SEE ALSO π₯
- Kernel file
./net/netfilter/nf_conntrack_core.c nf_ct_match_reverse(9)nf_ct_resolve_clash_harder(9)nf_ct_resolve_clash(9)
π and thatβs the page! cute sign-off time: this one lives in the Kernel API Manual as nf_ct_iterate_destroy(9), with footer source/version ./net/netfilter, date October 2026, and title nf_ct_iterate_destroy(9). bye bestie, go slay those conntracks π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms