ynl_has_ntf(9)
β¨ NAME β¨
okay bestie, welcome to ynl_has_ntf(9) from the Kernel API Manual π«Ά this one is literally a tiny check: it tells you if the socket has parsed notifications. that's the whole vibe. parsed is the key word here, iykyk π
π¦ SYNOPSIS π¦
bool ynl_has_ntf (struct ynl_sock *ys );
π ARGUMENTS π
ysβ the active YNL socket. that's it, that's the argument π
πΈ DESCRIPTION πΈ
so here's the tea β: this does not take into account notifications sitting in the netlink socket. nope, not those. it only looks at the notifications which have already been read and parsed β e.g. during a ynl_ntf_check call. so if you're expecting it to count the ones still chilling in the netlink socket, bestie, it's giving βnot my jobβ π
lowkey important vibe check: parsed notifications only. already read + parsed. not the ones still sitting in the netlink socket. periodt.
π SEE ALSO π
- Kernel file
./tools/net/ynl/lib/ynl.h struct ynl_error(9)struct ynl_family(9)struct ynl_sock(9)struct ynl_string(9)ynl_dump_empty(9)
xoxo, that's the page π source/version: ./tools/net/ynl/lib, dated October 2026. ynl_has_ntf(9) signing off πβ¨
π¦ 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