icmp_global_allow(9)
icmp_global_allow π
okay so this is a page from the Kernel API Manual, bestie β manual name folded in right here near the top, as requested β and it's all about the icmp_global_allow(9) function. let's get into it π«Ά
β¨ NAME β¨
icmp_global_allow β Are we allowed to send one more ICMP message ?
π¦ SYNOPSIS π¦
bool icmp_global_allow (struct net *net );
πΈ ARGUMENTS πΈ
netβ network namespace. that's the whole argument, icon π
π DESCRIPTION π
So this function uses a token bucket to limit our ICMP messages to ~sysctl_icmp_msgs_per_sec. rate limiting but make it kernel, no cap β¨
It returns false if we reached the limit and can not send another packet. so if it says false, that's a no, bestie β the packet does not get to go π
It works in tandem with icmp_global_consume. they're a duo, iykyk π₯
β SEE ALSO β
- Kernel file
./net/ipv4/icmp.c
that's the whole vibe. signing off from ./net/ipv4, dated October 2026, page icmp_global_allow(9) πβ¨ππ¦πΈπ
π«Ά
π¦ 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