ynl_has_ntf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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